title: Firebase Upload a file with fragment in MainActivity
body: <p>I am developing an app with android studio, the app has a main activity, and has 3 fragments included with a Navigation view controller. Now what I'm trying to do is to implement a system in one of the fragment so that when the user clicks on one button, the gallery intent shows up and then the selected image displays in an image view, and then there is one button to uplaod the image to firebase storage.</p>