thefex / Xamarin.Bindings.AdvancedRecyclerView

Xamarin Android binding library for: https://github.com/h6ah4i/android-advancedrecyclerview
Apache License 2.0
0 stars 0 forks source link

Question about this library #25

Open ziomek64 opened 6 hours ago

ziomek64 commented 6 hours ago

Not really an issue but rather some questions about library. You can close this immediately and we can just keep talking.

  1. Do you plan to update to .net 9 after MVVMCross updates to new net9.0-android? I'm building some app currently and since soon there is a new .net 9 version things will stop working I presume if not updated.
  2. Is there any new sample? this one seems old - https://github.com/thefex/Xamarin.Bindings.AdvancedRecyclerView/tree/master/AdvancedRecyclerView/Sample . I just need grouped list with headers. No need for expanding or closing, will do scrolling to item in group with some FAB (unless that's not possible) :)
  3. Do unique IDs for items has to be across all groups or just inside one? And as for the groups, can IDs for them just be strings? Since they are unique in my case.
thefex commented 6 hours ago
  1. If it stop working, it will be updated as I use advancedrecyclerview across my apps. It should probably work though without updating
  2. I will update it some day, but I think it will work if you fix build errors and bump mvvmcross/csproj to net8.
  3. Not sure but I use unique ids across all groups. This is AdvancedRecyclerView requirement. You cant use string directly but I resolve that such I have singleton map - map string to long (increment static long and store Dictionary<string, long> - id map)
ziomek64 commented 6 hours ago

Could you show how you're doing for group IDs? Code for singleton and actual usage