Skip to content

Commit 8d80bd1

Browse files
committed
Don't refresh list when item is clicked
This was originally done to mark the repository as recently viewed in the list but can cause confusion since the item appears to disappear from the current position in the list that is visible since it moves to the top area which is most likely not visible. The repository will still appear in the recent list the next time the activity is created. Closes issue pockethub#71
1 parent de033c1 commit 8d80bd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main/java/com/github/mobile/ui/repo/RepositoryListFragment.java

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public void onListItemClick(ListView list, View v, int position, long id) {
111111
if (recentRepos != null)
112112
recentRepos.add(repo);
113113
startActivity(RepositoryViewActivity.createIntent(repo));
114-
refresh();
115114
}
116115

117116
@Override

0 commit comments

Comments
 (0)