I´m doing my final degree project and I have chose to develop and Android app using Firebase Firestore, the idea it´s cool because I´m learning how to program on Android, but on Java.
So, I have develop the SplashScreen, Login form, SignIn form and able to connect succesfully with Firebase but right now I´m having a problem about thinking the main activity, which is the one that the user will see the most.
-The idea is to set a box for search, but once the user click on it, should appear the view on the right. The main question is if it should be a Fragment or a new Activity?
Thanks in advance.
Advertisement
Answer
It’s good to use DialogFragment. https://developer.android.com/reference/android/app/DialogFragment