Scroll down to show some new categories when they turn up

Change-Id: I91431721ba504a27c9d902bcf0a2f21fa3b9d938
GitHub: https://github.com/wikimedia/apps-android-commons/pull/32
This commit is contained in:
YuviPanda 2013-07-18 00:24:47 +00:00 committed by SuchABot
parent e0d567d5c2
commit 89d91d6867

View file

@ -126,6 +126,8 @@ public class CategorizationFragment extends SherlockFragment{
categoriesNotFoundView.setText(getString(R.string.categories_not_found, filter));
categoriesNotFoundView.setVisibility(View.VISIBLE);
}
} else {
categoriesList.smoothScrollToPosition(existingKeys.size());
}
}