how to directly pass value of a variable from 1st activty to 3rd activity using putextra?

后端 未结 4 549
南笙
南笙 2021-01-24 12:09

how to directly pass value of a variable from 1st activity to 3rd activity using putextra?

For example:

I have a variable A in the first screen (first activity)

4条回答
  •  天命终不由人
    2021-01-24 12:42

    You may keep them as static objects and retrieve as Myclass.myObject. But what you really want is impossible.

提交回复
热议问题