开发者

Android Class Object problem

HI all,

actually i m new in android development.

i have one activity class and one simple class(Without Activity). in Simple class i m calling some web service and storing the response in array. after that this array i want to access in my activity class. m not able to make the object. how can i do that? i don't want to use bundle. a开发者_JS百科s this array i want to access in more than one class.

please help me.

thanks in advance.


The activity calls/creates the Simple class, right? Pass a reference to the activity object to the Simple class, have the Simple class call the activity back with the data.


You can also use static, but it depends of data.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜