Support for data binding of adapter's data set
See original GitHub issueHello, first of all, your FlexibleAdapter rocks 😃.
As I’m big fan of Android’s data binding - support for data binding of adapter’s data set would be great. Imagine you have ObservableArrayList<IFlexible>
and you don’t have to call updateDataSet
when the data changes. What do you think about it? I could try to create PR if interested.
View holders could be bound via createViewHolder
and bindViewHolder
and it’s more than sufficient.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Binding adapters - Android Developers
Binding adapters are responsible for making the appropriate framework calls to set values. One example is setting a property value like calling ...
Read more >Advanced Data Binding in Android: Binding Adapters
In this advanced data binding tutorial, you'll learn how you can interact directly with the components in your layouts, assign a value and ......
Read more >Android Databinding Adapters - ProAndroidDev
Binding adapters are nothing but static methods that are responsible for making the required framework calls to set the values or listeners.
Read more >Android RecyclerView Data Binding - DigitalOcean
In the below application we'll load the data in the adapter rows of the RecyclerView from the XML using the <data> . Also...
Read more >Binding Adapters and Observable Objects | by Oya Canlı
And once Google Android team brought out LiveData, they also provided LiveData support in Data Binding Library. So, we have now these both ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 for that. I’ve just reviewed FlexibleAdapter before using it in my application. Great library, but the lack of databinding support stood out.
A first beta version of this extension is now available. For the moment only in the demoApp in current_snapshot branch is shown how to use this extension. Setup is in the Readme of that branch too.