Closed sebastianperdomo closed 3 years ago
@sebastianperdomo while it should be possible to achieve (there are a few issues over the time which should give you some helpful pointers, you. may also can look into the item created for kotlin which may give helpful clues).
(this is the abstract item for this https://github.com/mikepenz/FastAdapter/blob/develop/library-extensions-binding/src/main/java/com/mikepenz/fastadapter/binding/AbstractBindingItem.kt)
Regardless it's highly suggested to upgrade to the latest version as we can't give support for old versions. They are provided as is.
what's the error you see when using this sample?
the error is in the line
return new ViewHolder(v);
the "v" variable is the error
tells me that it has to be of the "data type" ItemClientesNewBinding, not View
but if i change the data type with ItemClientesNewBinding, the whole function is in error now
So I suppose you will have to provide the binding class instead, as this one will read in the views and stuff.
As far as I can tell this is not a library issue though, as such I will close the ticket.
Will regardless still try to point you in the right direction if needed
Hi, is there any way to use the ViewBinding with the Java && AndroidX v3.3.1 version ?
this code works fine with findViewById or the butterknife library
with ViewBinding throw error in the getViewHolder function
Thanks