diff options
4 files changed, 2 insertions, 7 deletions
diff --git a/fastadapter-viewbinding/build.gradle b/fastadapter-viewbinding/build.gradle index d9de6d5..a786edb 100644 --- a/fastadapter-viewbinding/build.gradle +++ b/fastadapter-viewbinding/build.gradle @@ -6,9 +6,6 @@ ext.kauSubModuleMinSdk = Versions.coreMinSdk apply from: '../android-lib.gradle' android { - dataBinding { - enabled = true - } viewBinding { enabled = true } diff --git a/fastadapter-viewbinding/src/main/AndroidManifest.xml b/fastadapter-viewbinding/src/main/AndroidManifest.xml index acd1012..3c1cd7f 100644 --- a/fastadapter-viewbinding/src/main/AndroidManifest.xml +++ b/fastadapter-viewbinding/src/main/AndroidManifest.xml @@ -1 +1 @@ -<manifest package="ca.allanwang.kau.fastadapter.databinding" /> +<manifest package="ca.allanwang.kau.fastadapter.viewbinding" /> diff --git a/fastadapter-viewbinding/src/main/kotlin/ca/allanwang/fastadapter/viewbinding/BindingItem.kt b/fastadapter-viewbinding/src/main/kotlin/ca/allanwang/fastadapter/viewbinding/BindingItem.kt index 2d1834f..d1ae65f 100644 --- a/fastadapter-viewbinding/src/main/kotlin/ca/allanwang/fastadapter/viewbinding/BindingItem.kt +++ b/fastadapter-viewbinding/src/main/kotlin/ca/allanwang/fastadapter/viewbinding/BindingItem.kt @@ -20,7 +20,7 @@ import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import androidx.viewbinding.ViewBinding -import ca.allanwang.kau.fastadapter.databinding.R +import ca.allanwang.kau.fastadapter.viewbinding.R import ca.allanwang.kau.logging.KL import com.mikepenz.fastadapter.FastAdapter import com.mikepenz.fastadapter.GenericItem diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt index 14b67e2..5107e18 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt @@ -17,9 +17,7 @@ package ca.allanwang.kau.sample import android.app.Activity import android.os.Bundle -import androidx.viewbinding.ViewBinding import ca.allanwang.kau.internal.KauBaseActivity -import ca.allanwang.kau.sample.databinding.ActivitySwipeBinding import ca.allanwang.kau.swipe.SWIPE_EDGE_BOTTOM import ca.allanwang.kau.swipe.SWIPE_EDGE_LEFT import ca.allanwang.kau.swipe.SWIPE_EDGE_RIGHT |