twitter-kit-android
twitter-kit-android copied to clipboard
Problem reinitialize Twitter
Hi, in my app set TwitterConfig with consumer_key and consumer_secret in this way:
TwitterConfig twitterConfig = new TwitterConfig
.Builder(this.activity)
.logger(new DefaultLogger(Log.DEBUG))
.twitterAuthConfig(new TwitterAuthConfig(CONSUMER_KEY, CONSUMER_SECRET))
.debug(true)
.build();
Twitter.initialize(twitterConfig);
how can reinitialize TwitterConfig (with new tokens) when i restart the activity?. Because if i restart application TwitterSession not change. (i test app passing tokens not valid).