开发者

Asynchronous retrieving of access token using twitter4j

开发者 https://www.devze.com 2023-03-06 19:15 出处:网络
For now I see that both function of retrieving tokens are synchonous(get开发者_StackOverflow中文版RequestToken and getAcessToken).

For now I see that both function of retrieving tokens are synchonous(get开发者_StackOverflow中文版RequestToken and getAcessToken).

Is it possible to retrieve them asynchronously, and show progress on background for example?

P.S. I work under Android platform.

Thanks a lot.


Yep, just call these methods in AsyncTask and show ProgressDialog. See an example.

0

精彩评论

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