Tag: fragment

  • Best Practice to Instantiate Fragments with Arguments in Android

    Best Practice to Instantiate Fragments with Arguments in Android

    There are some ways to instantiate and pass data to fragments in android development. However, you must be careful when you do that and you should avoid the wrong approaches while you are instantiating and passing data to fragments. The most recommended way of instantiate fragments with arguments is to have factory methods for this…