Log in screen on first start

前端 未结 4 1103
猫巷女王i
猫巷女王i 2021-01-29 04:15

how would you create an activity that only runs when the application is started for the first time ever and provides the user with a screen to input a pin and \"unlock\" the app

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-29 04:47

    You can use android preferences for show login screen only for the first time.

    You can set flag in preference and check it when application start.

提交回复
热议问题