diff options
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/view/DrawerAdapter.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/DrawerAdapter.java b/src/github/daneren2005/dsub/view/DrawerAdapter.java index 924df743..1f2c7f4f 100644 --- a/src/github/daneren2005/dsub/view/DrawerAdapter.java +++ b/src/github/daneren2005/dsub/view/DrawerAdapter.java @@ -98,6 +98,11 @@ public class DrawerAdapter extends ArrayAdapter<String> { return position;
}
public int getAdapterPosition(int position) {
+ if(!visible.get(position)) {
+ visible.set(position, true);
+ notifyDataSetChanged();
+ }
+
for(int i = position; i >= 0; i--) {
if(!visible.get(i)) {
position--;
|