android - How to use setArgument in FragmentActivity -


i able use setargument() passing data in fragment unable same thing in fragmentactivity

use intents pass data fragmentactivity:

intent intent = new intent(context, myfragmentactivity.class); intent.putextra("some_key", "some_data"); context.startactivity(intent); 

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -