question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for data binding of adapter's data set

See original GitHub issue

Hello, 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:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
roee88commented, Nov 28, 2016

+1 for that. I’ve just reviewed FlexibleAdapter before using it in my application. Great library, but the lack of databinding support stood out.

0reactions
davideascommented, May 3, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found