Комментарии:
If we use fragmentTransaction.add(R.id.fragmentContainer,fragment,"demofragment") and fragmentTransaction.addToBackStack(null); and don't override the onBackPressed method then also it will have the same behaviour as we do it on override the onBackPressed method and use fragmentTransaction.add(R.id.fragmentContainer,fragment,"demofragment") and fragmentTransaction.addToBackStack(null); How come?
ОтветитьSir your videos are really helpful. Thanks 🙏🙏🙏 a lot!!
ОтветитьIs it possible to replace the page with html and css?
ОтветитьSolved my problem
Ответитьthank you
ОтветитьReally helped me
ОтветитьYour Explanations are really great Thankyou !
ОтветитьNice video 👍. I'm facing "Fragment already executing" any idea on this 🌝
Ответитьif we are not using back stack then how it is able to get added on top of another?? plz answer this
Ответитьthis video was really very very good
ОтветитьReally good explanation!
Keep it up, sir!
bahut bahut dhanyawad sir🙏🙏
Ответитьsir how is findFragmentById(R.id.fragmentContainer) working? the fragmentContainer is empty at first so how is it an instance of any of the fragments you have created!?.....I watched all videos and didnt get this part plz help sir @Codetutor
Ответить@codetutor In your previous video u said that multiple fragments will be added with the help of backstack otherwise it wont add ,now in this video you are adding multiple fragments without backstack ,can you please explain.
ОтветитьHow to switch multiple fragments...if one is added another one is removed..and if we add a fragment two times, it gives an error that fragment is already added.😪
Ответитьlove your channel!!! great explanation
ОтветитьA question: So we are adding new fragments on same fragmentContainer, now what is exactly heppening on that? Is it replacing the content (old fragment) inside that cotainer with new fragment or is it just adding it on top? If it is adding on top, can we use LinearLayout or any other as holder to have multiple fragments line by line (one after another)?
ОтветитьYou're great.
ОтветитьThis helped me solve my problem. Thanks a lot, keep on the good work!
Ответитьthx, greay video
ОтветитьNice explanation.
Ответитьbest explanation with visual examples so far. Thanks
ОтветитьPlz help! Sir i want to close a fragment actually the whole fragment activity but getactivity().finish crash my application.
ОтветитьWell explained.Thank you sir.
ОтветитьI'm sorry to see unlike for these great tutorial lessons... I think anyone who does that it's jealous because they can't do like these great lessons.
Ответитьyou just won a subscriber. I have to build a fitness app for my Bachelor Thesis. I use a Navigation Drawer with fragments. u helped me a lot! Codetutor for president :D
ОтветитьHi Anil, im not sure what fragmentContainer is supposed to be, is it the layout in my fragment layout .xml? Or is it the viewPager? Can you give me a little bit more details? thank you very much :) When i use the framelayout i used for the fragment i am currently in, the new just appears over the current one
Ответитьi read a good comment about u , i want to repeat this compliment
your tutorials are better than those of Lynda and Udacity.
your tutorials are better than those of Lynda and Udacity.
ОтветитьThis series just gets better.
ОтветитьHi sir, your android tutorial videos is awesome...quite easy to understand..but I have one doubt, last video of backstack story you have created single fragment reference.but you assigned with multiple fragments with in single reference.but I tried same thing but I got error...what is problem could you please explain???
ОтветитьThanks for the video.. Keep sharing the knowledge.
ОтветитьThanks for that amazing detailed tutorial. How many part this tutorial will be?
Ответить