开发者

Receiving data which is passed using intents

开发者 https://www.devze.com 2023-01-04 18:55 出处:网络
I want to receive a data which is passed using intent from another page开发者_StackOverflow中文版.Can you help me?this is an example

I want to receive a data which is passed using intent from another page开发者_StackOverflow中文版.Can you help me?


this is an example

 Bundle bundle = getIntent().getExtras();
 Int ReceivedId = bundle.getInt("Id");
 String ReceivedTitle = bundle.getString("Title");
0

精彩评论

暂无评论...
验证码 换一张
取 消