-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
thanks for awesome third-party library 👍
i was try to send data from StepperAdapter to fragment like this :
in my stepperAdapter :
switch (position){ case 0: final SetTitleFragment setTitleFragment = new SetTitleFragment(); Bundle b1 = new Bundle(); b1.putInt(CURRENT_STEP_POSITION_KEY,position); b1.putInt("id_from_adapter",10); setTitleFragment.setArguments(b1); return (Step) setTitleFragment;
in myStepperFragment :
Bundle bundle = new Bundle();
if (getArguments() != null){
int id = bundle.getInt("id_from_adapter");
Toast.makeText(getActivity(),"id_edit = "+id,Toast.LENGTH_SHORT).show();
}
but i not get the data. the toast result just 0 or NULL
how to do ? please tell me
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels