开发者

How to call activity dynamically depend on situation android?

开发者 https://www.devze.com 2023-02-07 09:29 出处:网络
Depending on webservice reponse i want to call activity.If response giving more list items then call activity1 ,if response giving only on list item call acti开发者_如何学Pythonvity1.I want to decide

Depending on webservice reponse i want to call activity.If response giving more list items then call activity1 ,if response giving only on list item call acti开发者_如何学Pythonvity1.I want to decide this one in Home page only.Give me guidance?Presently iam using web service calling in activity1.But instead of that i want to use separate java(without activity)and depending on reponse calling suitable activity.Mean time i dont want to face any blank screen?Hope understand.Please help us.


Just put ProgressDialog in HomePage and get response from server in thread then forward the activity to which you like.

At time you are calling the second activity dismiss the progressDialog in Homepage.

Try this.

0

精彩评论

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