Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- can I use activiy one time(register activity) and switch the main launcher to different activity?
- // in the beginning of onCreate
- // first launch could be loaded from shared preferences
- // see 2. for more
- if (!firstLaunch) {
- // start another activity
- finish();
- return;
- }
Add Comment
Please, Sign In to add comment