I’m looking to create a filter bar like this for example. I use cardview (not listviews) and just have text data (no images or other files) And all the cardview information comes from Firebase.
Hi, i think you shoud first create a list of extension for example video (mp4, mkv, etc). then when you clic in some cardview got the text and then look into loop all files from the directory comparing the extension with your list. you list may have this structure ((type: video) (icon nameIconInAssets) (extensions (mp4, mov,avi,mkv,wmv))
Requirements :
Horizonal scroll Arrangement
Horizontal Arrangement
img
label for text
put (img)(text) in Horizontal arrangement
and enable Full clickable property of that H.Arrangement…and then make copy /paste 4,5…
Now you can make logic on every H.Arrangemnt onClick
eg
onPress H.Arrangemnt 1
load All .jpg contains files with file component and make dynamic img and dynamic labels to show name of pic
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.