How to hide an item in a LazyColumn in Android Compose?
I had a LazyColumn with more than a hundred items from which to select one.
Looking for a solution found the following Link1 and Link2.
But I felt that it was to complex to apply to my code.
Copyright © 2021 Jogjafile Inc.
I am using Jetpasck Compose so I don't use XML layouts.
I found a solution for the case that the hidden Items follow a pattern or RegEx. Maybe yo can create an Extension function to make a custom made function to hide non pattern items.
Within the LazyColumn Scope I added a filter to the List then in the selection code I do a lookup in the unfiltered List
This a partial code using this option:
That is it every thing stays the same.