0

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

pramod K
  • 101
  • 1
  • 4

1 Answers1

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.

Community
  • 1
  • 1
MikeT
  • 51,415
  • 16
  • 49
  • 68