Asynchronous retrieving of access token using twitter4j
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.
精彩评论