This is Android Navigation Drawer 2017 Tutorial and you will learn how to send data from one Fragment to Another Fragment in Android. This tutorial is for beginners. Usually you use Intent to send data from one Activity to another Activity but here it is a little different, from a Fragment to another one. Actually, what you need is just a method setArguements() with a Bundle parameter. You create an instance from Bundle and you send data through it. And in a received Fragment, you can get the data from getArguments() method with the return type of Bundle. It is fairly easy. If you know in detail, please watch the video tutorial.

Comments

comments