Remove redundant enabled
This commit is contained in:
@@ -7,6 +7,5 @@ abstract class Data : BaseObservable() {
|
|||||||
abstract val title: CharSequence
|
abstract val title: CharSequence
|
||||||
abstract val text: CharSequence
|
abstract val text: CharSequence
|
||||||
abstract val active: Boolean
|
abstract val active: Boolean
|
||||||
open val enabled get() = true
|
|
||||||
open val selectable get() = true
|
open val selectable get() = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,6 @@
|
|||||||
android:checked="@{data.active}"
|
android:checked="@{data.active}"
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:enabled="@{data.enabled}"
|
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:focusableInTouchMode="false"
|
android:focusableInTouchMode="false"
|
||||||
android:gravity="center_vertical"/>
|
android:gravity="center_vertical"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user