Remove redundant enabled

This commit is contained in:
Mygod
2019-09-19 11:57:25 +08:00
parent d3d1ecf8ba
commit 56a2c8bb4b
2 changed files with 0 additions and 2 deletions

View File

@@ -7,6 +7,5 @@ abstract class Data : BaseObservable() {
abstract val title: CharSequence
abstract val text: CharSequence
abstract val active: Boolean
open val enabled get() = true
open val selectable get() = true
}

View File

@@ -57,7 +57,6 @@
android:checked="@{data.active}"
android:clickable="false"
android:ellipsize="end"
android:enabled="@{data.enabled}"
android:focusable="false"
android:focusableInTouchMode="false"
android:gravity="center_vertical"/>