开发者

Android: creating a search, collecting values from different actvities

Iam about to create a search, But the point here is that Iam going to collect values from different activities, maybe I will store them in a keyvalue,

Where can I store the keyvalue object so I can reach from every activity without sending to eachother all the time?


okej, well iam going to store values, so i can sent to my service so it returns requested items (开发者_如何学编程it means I will create a search)

Property Name

ID

Selected Name

For example:

Proberty : Location

selectedID = 36

selectedName = New York

By the way, I guess I can't use keyvaluepairs, what can I use if I have three rows as in my case?


Depends on what exactly you're storing, but I'm thinking storing everything in a SQLite database would be a good solution.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜