I am new to this concept ,How to display my fragment after in application,that fragment only display at after installing my app, please any one suggest me how to do that
Asked
Active
Viewed 29 times
0
-
why not you use a sharedpreference – Ranjit Apr 13 '16 at 10:38
1 Answers
1
Basically you need to store a value outside of the application itself. Shared Preferences or a database (eg SQLite) or a file could be used. The former, Shared Preferences, would be the simplest. There are loads of tutorials and examples eg Android Shared preferences example
You could use a boolean type or even simply check for the existence of any type and then set or create it respectively.