Efficiently Passing Custom Object Data between Android Activities [Mono Android]

前端 未结 2 1318
谎友^
谎友^ 2020-12-19 05:21

I\'ve been stumped with this for a while now. I\'m working on an android app that stores a person\'s fish catches, favorite fishing locations, tackle box inventory and other

2条回答
  •  渐次进展
    2020-12-19 05:58

    You can use this approach, it will live as long as your Application object is alive (Which means it will live through your entire application and activities). You can read more about using global variables stored in the Application object here. I don't think mono would make a difference which will prevent you from using this approach.

提交回复
热议问题