mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Using host variable to make the code nicer
This commit is contained in:
parent
3e1c110343
commit
db17d02f36
1 changed files with 3 additions and 3 deletions
|
@ -72,9 +72,9 @@ class OtherSessionsController @Inject constructor(
|
|||
sessionDescription(description)
|
||||
sessionDescriptionDrawable(descriptionDrawable)
|
||||
sessionDescriptionColor(descriptionColor)
|
||||
stringProvider(this@OtherSessionsController.stringProvider)
|
||||
colorProvider(this@OtherSessionsController.colorProvider)
|
||||
drawableProvider(this@OtherSessionsController.drawableProvider)
|
||||
stringProvider(host.stringProvider)
|
||||
colorProvider(host.colorProvider)
|
||||
drawableProvider(host.drawableProvider)
|
||||
selected(device.isSelected)
|
||||
clickListener { device.deviceInfo.deviceId?.let { host.callback?.onItemClicked(it) } }
|
||||
onLongClickListener(View.OnLongClickListener {
|
||||
|
|
Loading…
Add table
Reference in a new issue