ahmedrizwan / RxRecyclerAdapter

Rx based RecyclerView Adapter
192 stars 28 forks source link

Can I use this adapter without databinding? #6

Closed lenguyenthanh closed 8 years ago

ahmedrizwan commented 8 years ago

Hi @lenguyenthanh... I'm afraid you can't use it without DataBinding. The adapter needed to be generic. And for that, DataBinding does become an integral part of the library.

mohsin commented 4 years ago

@ahmedrizwan I think you could shift this library out of databinding to use kotlin's newer Android Extensions's "View binding" instead. Right now LayoutContainer is experimental but once it's stable I think this library could shift to that and make it free of the older databinding way.

ahmedrizwan commented 4 years ago

Thank you @SaifurRahmanMohsin for the suggestion. LayoutContainer looks promising. I'll give it a try - and will move away from Databinding as soon as it's stable (or maybe even before)

Side note: I don't prefer using Databinding anymore and my current preference is actually using Epoxy in large-scale projects. So I'd recommend you check that out as well.