Fixed memory leak

pull/204/head
M66B 3 years ago
parent 593f53cb77
commit b08000160e

@ -103,7 +103,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
private View content_separator; private View content_separator;
private View content_pane; private View content_pane;
private TwoStateOwner owner = new TwoStateOwner("drawer"); private TwoStateOwner owner;
private DrawerLayoutEx drawerLayout; private DrawerLayoutEx drawerLayout;
private ActionBarDrawerToggle drawerToggle; private ActionBarDrawerToggle drawerToggle;
private NestedScrollView drawerContainer; private NestedScrollView drawerContainer;
@ -238,6 +238,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
content_separator.getLayoutParams().width = Helper.dp2pixels(this, 34); content_separator.getLayoutParams().width = Helper.dp2pixels(this, 34);
} }
owner = new TwoStateOwner(this, "drawer");
drawerLayout = findViewById(R.id.drawer_layout); drawerLayout = findViewById(R.id.drawer_layout);
final ViewGroup childContent = (ViewGroup) drawerLayout.getChildAt(0); final ViewGroup childContent = (ViewGroup) drawerLayout.getChildAt(0);

Loading…
Cancel
Save