mars

If drawer is Closed by Sketchware Code

  #OnDrawerClosed


ActionBarDrawerToggle _toggle = new ActionBarDrawerToggle(ac, _drawer, _toolbar, R.string.apptitle, R.string.apptitle) {

public void onDrawerClosed(View view) {

//Your blocks here

}

@Override

public void onDrawerSlide(View drawerView, float offset) {

//Your blocks here

}

};

_drawer.addDrawerListener(_toggle);

Post a Comment

0 Comments