简体   繁体   English

SearchView 的活动或片段?

[英]Activity or Fragment for a SearchView?

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.我正在做我的最后一个学位项目,我选择使用 Firebase Firestore 开发 Android 应用程序,这个想法很酷,因为我正在学习如何在 Android 上编程,但在 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.因此,我开发了 SplashScreen、登录表单、登录表单并能够成功连接 Firebase,但现在我在思考主要活动时遇到了问题,这是用户最常看到的活动。

Main View主视图

-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.提前致谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM