java - Android Studio Onclick Open Navigation Item -


i'm new in android studio. i'm confused linking navigation drawer button.

i have onclicklistener:

    public void clickfunc(view view) {        //codehere       i.add(new navitem("tip us", r.drawable.ic_details, navitem.item, webviewfragment.class, "http://www.google.com"));     } 

when click in button want go navigation drawer.

i've downloaded project fits need uses navigation drawer , want use button menu (not navigation drawer)

anyone knows how it?


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -