evant / binding-collection-adapter

Easy way to bind collections to listviews and recyclerviews with the new Android Data Binding framework
Apache License 2.0
1.92k stars 255 forks source link

Migration from 1.3.0 to 2.2.0 #218

Open Prusinowsky opened 2 years ago

Prusinowsky commented 2 years ago

I've change the version of me.tatarka.bindingcollectionadapter:bindingcollectionadapter:1.3.0 to me.tatarka.bindingcollectionadapter2:bindingcollectionadapter:2.2.0.

But actually I got a errors like:

:app:compileDebugJavaWithJavacC:\Projects\xxx\adapter\CustomBindingEvenRowAdapter.java:5: error: cannot find symbol
import me.tatarka.bindingcollectionadapter2.BR;
                                           ^
  symbol:   class BR
  location: package me.tatarka.bindingcollectionadapter2

Could someone help me with migartion?

Prusinowsky commented 2 years ago

I've got a error too:

Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.NoSuchMethodError: android.databinding.BindingBuildInfo.enableDebugLogs()Z

I use classpath 'com.android.tools.build:gradle:2.2.3'

Prusinowsky commented 2 years ago

@evant