almost 5 years ago
like in tent how to switch between fragment in navigation drawer .
Create a button in fragment layout file and in fragment java file apply on click listener on the button and write the following code
.replace(R.id.container, new Fragment_InputData())
for more you can find a sample project with this answer
in this example in the fragment i give button and on button click i wanted to go to another fragment like intent we go and intent we apple on button click but i dont know how to do that in fragment.
Please explain a bit more what do you want to do on click of the button is that you want to open the activity that has navigation drawer init or you want to slide the navigation drawer on button click.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2020 FindNerd.com. All rights reserved.
Sign up using