I'm trying to implement an image picker like in whatsapp where you select 'Gallery' and it opens its own custom Gallery(not system/os gallery) and then it displays the Thumbnails with all the folders. Then we click on 1 of them and it displays images in those folders/albums and then we can pick the image. I'm trying to implement the very same thing in my app.
So what I've tried and done till now: I know MediaStore content provider is required for this, and this is the first time I'm working with Content Providers. I've gone through many posts and articles but not getting how to or what to use to implement this thing. Most of the articles are too old and using SimpleCursorAdapter while I'm trying to implement this thing using RecyclerView GridView.
Posts I've followed :
The 3rd one is the best one but the answer is around 5 years old. There is no use of posting my code here as I've tried a lot of things but not got exactly what I'm trying to implement. So any references or guidance towards how to implement this would be great. I just need the proper things which I should look into and explore more as the MediaStore official documentation is not so detailed.