Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem in ver > 4.3.0 #109

Open
KORuL opened this issue Apr 24, 2022 · 0 comments
Open

problem in ver > 4.3.0 #109

KORuL opened this issue Apr 24, 2022 · 0 comments

Comments

@KORuL
Copy link

KORuL commented Apr 24, 2022

java.lang.NoSuchMethodError: No virtual method _$_findCachedViewById(I)Landroid/view/View; in class Lcom/hannesdorfmann/adapterdelegates4/dsl/AdapterDelegateLayoutContainerViewHolder; or its super classes (declaration of 'com.hannesdorfmann.adapterdelegates4.dsl.AdapterDelegateLayoutContainerViewHolder' appears in /data/data/ru.hintsolutions.diabets/code_cache/.overlay/base.apk/classes34.dex)
4.3.0 works fine, I put the version more - I get this error

in gradle I switch version
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.3.2'

And simple delegate dont work

fun compactFoodAdapterDelegate(
) =
    adapterDelegateLayoutContainer<CompactFood, CompactFood>(R.layout.products_fatsecret_list_item) {

        bind {
            nameProduct.setTextitem.name)
            productDetails.setText(item.description)
        }
    }

If I change to implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.3.0'
Its works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant