Using data fetched in one Activity in another Activity

前端 未结 4 1315
無奈伤痛
無奈伤痛 2021-01-06 23:54

I get certain data like say userName in Activity_1 from a web server. Then i want to use the same data in Activity_2

so i made

4条回答
  •  北海茫月
    2021-01-07 00:34

    you could add a action to this event and catch the event only if the action exists...

    And of course you could save the data persistently - SQLite database or SharedPreferences

提交回复
热议问题