fragmenttransaction tag

2 questions


1 answers
132 views
0
Fragment Back Button Error

There are two Fragments in total. Code that moves from fragment2 to fragment1.faragment2.java Fragment1 fragment1 = new Fragment1(); Bundle bundle = new Bundle(); bundle.putString(mkey,key); f...

2 years ago

1 answers
117 views
0
If you replace the fragment in Android Fragment Transaction, the fragment life cycler is destroyed and onCreate, so can you control this part? Don't let the gc eat you (so that you don't destroy me)

Currently, we have implemented a tab, and we are drawing a frame on Frame Layout and a view as a replace with Fragment Transaction. Both fragments are bringing in items from the server call. Every tim...


© 2024 OneMinuteCode. All rights reserved.