Comments (3)
I'm having the same issue.
I even tried to use both the ItemBinderBase or my own ItemBinder, but that doesn't seem to be the issue.
from android-data-binding-recyclerview.
I've compared my files with the ones in the repository and there is a line in the UsersView.java:
binding.setView(this);
Adding it to my activity solved the issue.
This line is not present on in "How to start" steps in the main repo page:
https://github.com/radzio/android-data-binding-recyclerview#modify-your-activity
But you can see it on the UsersView file:
https://github.com/radzio/android-data-binding-recyclerview/blob/master/app/src/main/java/net/droidlabs/mvvmdemo/view/UsersView.java
from android-data-binding-recyclerview.
I cannot believe it. Exactly 7 months later I'm having the very same issue for the very same mistake.
The first Google result lead to me finding the solution in my own answer.
from android-data-binding-recyclerview.
Related Issues (17)
- Use in Eclipse HOT 1
- How to use this library when using fragments? HOT 1
- Click handling for items within a row HOT 1
- about inner view click HOT 1
- multiple view type
- CompositeItemBinder
- About binding
- If you wanna show a sample, please do it clear and simple. Your sample is too complex that a reader will prefer using adapter and viewholder in old way, and give up binding. HOT 1
- How to call adapters.notifyDataChanged()?
- Upload to Maven/Jcenter HOT 2
- Missing class in sample (UsersViewBinding) HOT 2
- How to add clickListener to items HOT 3
- Question: recyclerview-binding HOT 1
- How to use SortedList (introduced in recent version of RecyclerView library) with data binding? HOT 3
- I can not find the place where activityUsersRecycler set Adapter HOT 1
- Bug in WeakReferenceOnListChangedCallback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-data-binding-recyclerview.