sjeongus / BitTweet-Android

BitTweet for Android
3 stars 0 forks source link

Initial 19 tweets gets added to tweetlist after viewing tweet detail #14

Closed southrop closed 10 years ago

southrop commented 10 years ago

19 of the initial 20 (all but the very first one) tweets seems to get re-added to the tweet list after returning to the tweetlist from another screen (e.g. the tweet activity) or when the screen is turned on again after time out. Issue probably lies in the onStart() call for the activity.

A small excerpt from logcat: 04-22 21:07:17.651 11765-11765/com.golden.owaranai E/TweetsListFragment﹕ Before update: 20 04-22 21:07:17.661 11765-11765/com.golden.owaranai E/TweetsListFragment﹕ After update: 20 04-22 21:07:42.267 11765-11765/com.golden.owaranai E/TweetsListFragment﹕ Before update: 40 04-22 21:07:42.267 11765-11765/com.golden.owaranai E/TweetsListFragment﹕ After update: 40 04-22 21:08:36.905 11765-11765/com.golden.owaranai E/TweetsListFragment﹕ Before update: 60 04-22 21:08:36.905 11765-11765/com.golden.owaranai E/TweetsListFragment﹕ After update: 60

20 fragments get added every time, though only 19 of the tweets appear, curiously.