This is a simple module as a future reference to use. Most of the time we use this type of feature where we have to capture/select a photo from the gallery and set that as our profile picture. So here it is.
In this application, I use some libraries to make the work easy.
- Dexter – Dexter is an Android library that simplifies the process of requesting permissions at runtime.
- Glide – Glide is a fast and efficient open source media management and image loading framework for Android.
- Butterknife – Field and method binding for Android views which uses annotation processing to generate boilerplate code.
- uCrop – ultimate and flexible image cropping experience.