android - How to use setArgument in FragmentActivity -
i able use setargument() passing data in fragment unable same thing in fragmentactivity
use intent
s pass data fragmentactivity
:
intent intent = new intent(context, myfragmentactivity.class); intent.putextra("some_key", "some_data"); context.startactivity(intent);
Comments
Post a Comment