Am I missing something in my app made with Jetpack Compose?
At start my app has a button to get URI with OpenDocumentTree()
Then after getting uri to required directory, I do all the procedure like showing images, videos and doing operation such as saving and sharing.
So in short:
Button-> Get URI from OpenDocumentTree()-> Show Images and Videos, Do operations-> App closed-> Repeat...
What I want:
Once I got uri from OpenDocumentTree() I want to just load images & video from there.
And provide a refresh button to just load newly added images or videos.
But I think I'm missing some logic of some sort.