Description:
Currently, whenever you open the motif sample app, it shows an empty screen. This is because the sample app did not handle the SD card read permission tasks. This pull request will fix the issue by leveraging the ActivityResultContracts to initialize the permission request process and automatically load the photos whenever the permission is granted. This way, the sample app will run seamlessly with intuitive functions.
Description: Currently, whenever you open the motif sample app, it shows an empty screen. This is because the sample app did not handle the SD card read permission tasks. This pull request will fix the issue by leveraging the
ActivityResultContracts
to initialize the permission request process and automatically load the photos whenever the permission is granted. This way, the sample app will run seamlessly with intuitive functions.No motif library code changes.