StNickolay
StNickolay

Reputation: 960

Asynchronous retrieving of access token using twitter4j

For now I see that both function of retrieving tokens are synchonous(getRequestToken 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.

Upvotes: 1

Views: 596

Answers (1)

Vladimir Ivanov
Vladimir Ivanov

Reputation: 43098

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

Upvotes: 1

Related Questions