Merge branch 'master' into 'master'
Scroll to top on category change Scroll to the top of the available app list when changing categories. See: https://gitlab.com/fdroid/fdroidclient/issues/7
This commit is contained in:
commit
2a296c0302
@ -103,6 +103,7 @@ public class AvailableAppsFragment extends AppListFragment implements
|
||||
categorySpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
|
||||
@Override
|
||||
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
|
||||
getListView().setSelection(0);
|
||||
setCurrentCategory(categories.get(pos));
|
||||
}
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user