android - Should we add fragment to framelayout before calling replace method? -
i'm sorry, atm can't test code. have question. how should work fragment manager? got error when trying add fragmenta, fragmentb, , again a. got error : fragment added. , here question: should call transaction.add @ launch , replace others fragments or shouldn't. attention , sorry english, not native language
you can add if want on first launch can use .replace if there isn't fragment loading frame , still work.
Comments
Post a Comment