Closed dsantix closed 2 years ago
@dsantix it looks like you are trying to select the items before they even exist within the adapter.
You need to make sure the adapter is already filled with the specific elements before doing the selection
That's it, I was trying to select with Expandable while in Collapse. Resolved when I select after placing items and expanding Expandable
Thx u soo much for your answer and your time.
About this issue
Hi, mike. First, sorry for the bad English. I'm trying to use selectExtensions.select() when I start a fragment to retrieve the old choices and it's not working. Basically, I'm using the Material Chip as an item to select and save the positions and return when I come back to the Controller in the future. To be more understandable to you, this is my code. Is it possible to do that ?
Select only working when calling by a button after view created.
Notes:
-Default value from SaveItemsPositionsLeagues is a EmptySet() -Try to set "select(...)" with viewScope.launchUi -Screenshot >
Details
Checklist