This commit is contained in:
dgis 2019-02-21 22:42:23 +00:00
parent 9709c873e3
commit 9879b3f19f

View file

@ -21,6 +21,7 @@ import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import android.widget.Toast;
@ -184,6 +185,13 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
drawer.openDrawer(GravityCompat.START);
}
// private View.OnLongClickListener onLongClickListener = new View.OnLongClickListener() {
// @Override
// public boolean onLongClick(View v) {
// return false;
// }
// };
private void updateMRU() {
Menu menu = navigationView.getMenu();
MenuItem recentsMenuItem = menu.findItem(R.id.nav_item_recents);