Do not understand fully fragment life-cycle.
Case:
Click
FrameLayoutfromActivityto move toFragmentis working.
Problem:
In
Fragmentthere are twospinnersand oneSubmitButton, when selected bothspinnervalues, the clicking ofSubmitButton, should display those values from spinner back to theActivity'stwoTextviews. But, I am unable to do that.
My Solution:
I tried to use
Intent,putExtrasand thengetExtras, but as we are inFragment,Intentis not going to work forFragment.Bundlealso not helping.
P.S. Need someone who understand good Fragment's life-cycle. Read many posts from stackoverflow and other tutorials. Not found what I meant.
Do not want external libraries as such eventBus