Fragments Implementation - Android Studio Tutorial || 2021 || Foxandroid ||

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Fragments Implementation - Android Studio Tutorial
    Source Code : github.com/fox...
    Follow me on Instagram: / foxandroidblog
    Follow me on Facebook: / foxandroidblog
    ---------------------------------------------------------------------------------------------------------------------------------------------------------
    Equipment I Use to Make My videos:
    📱 Phone -: amzn.to/3px6ucS
    🎧Earphones -: amzn.to/3JecI98
    🎙️Mic - : amzn.to/310u7Rp
    🎙️Mic - : amzn.to/3He96SW
    🔊Speakers - : amzn.to/3Hgfzg8
    💾External HardDrive - amzn.to/3JoRzZV
    💻 My PC build: www.amazon.in/...
    --------------------------------------------------------------------------------------------------------------------------------------------------------
    Hey Developers,
    In this video, I have explained :
    How to create a fragment
    How to implement fragment in an Activity
    How to replace fragment with another fragment
    Firebase Google Authentication Sign in using Android
    • Firebase Google Authen...
    DatePicker Dialog in Android Studi
    • DatePicker Dialog in A...
    How to Check Internet Connection in Android Studio
    • How to Check Internet ...
    How to Implement Admob Ads in Android Studio
    • How to Implement Admob...
    Responsive App Design in Android Studio 2021
    • Responsive App Design ...
    Introduction to Fragments - Android Studio Tutorial
    • Introduction to Fragme...
    #fragments #fragmentandroid #fragmentsimplementation

Комментарии • 88

  • @_foxandroid
    @_foxandroid  Год назад +3

    You can support the channel --> www.buymeacoffee.com/foxandroid

  • @chandankashyap4914
    @chandankashyap4914 3 года назад +5

    Recently started learning android studio and this was very helpful and informative. Thank you sir❤

  • @gohelboy
    @gohelboy 2 года назад +4

    You make it so easy thanks man

  • @saravanakumar-wg1bq
    @saravanakumar-wg1bq 3 месяца назад

    One doubt sir. Onclicking frag1 button it replaces framelayout that ok how on clicking frag2 button frag2 getting replaced by frag1 but in code u shown framelayout is getting replaced by frag2

  • @buddhadas5828
    @buddhadas5828 2 года назад +2

    Sir, how to start my app directly from any Fragment,,bcz here when we click one btn then only only first fragment opens,, but in "Flipkart"
    they opens the "Shop" fragment directly without opening any activity,,,plz reply...

    • @_foxandroid
      @_foxandroid  2 года назад

      Directly call the same function in oncreate of activt

    • @buddhadas5828
      @buddhadas5828 2 года назад +1

      @@_foxandroid Its not happening sir, when I am doing this app is keeps stopping in my phone...please explain it sir how can I do it correctly? waiting for ur reply...

    • @srikar306
      @srikar306 Год назад

      @@_foxandroid please reply

  • @S25Creation
    @S25Creation Год назад

    How to solve ANDROID RESOURCE LINKING ?😭

  • @21flame72
    @21flame72 5 месяцев назад

    sir how to display the fragment 1 whenever launch the application without explicit click

  • @felixespinosa7853
    @felixespinosa7853 2 года назад +1

    what if the button is inside the fragment itself? and if I click it, it will send me to another fragment but still same activity

  • @tonymukelabai1283
    @tonymukelabai1283 2 года назад +3

    Btw can you recommend some books that point out how the methods are used for example the getSupportFragmentManager and others in more detail

    • @_foxandroid
      @_foxandroid  2 года назад +2

      Read the documentation...no specific book

  • @priscilavictoriarosadochue6614
    @priscilavictoriarosadochue6614 2 года назад +1

    thankss!!!

  • @NxttLvlClipss
    @NxttLvlClipss 4 месяца назад

    Thank You So Much Bruh!! You Helped Me Alot...😊❤

  • @omarkhader-r8o
    @omarkhader-r8o Год назад

    thank you very much😄 but the music is very annoying i think if you mute it will be better 👍

  • @TurbooTitans
    @TurbooTitans 2 года назад +1

    whats the difference between relative and frame layout ???

  • @Attee_Q
    @Attee_Q 3 года назад +1

    Hi
    If you do not turn on the automatic english subtitle, please make an own english subtitle for the videos.

  • @MamoonYameen
    @MamoonYameen 2 года назад +1

    I used Frame Layout instead of Relative Layout in fragemnt that works better to present the fragment.
    Good 1.

  • @Mister_Manojkumar
    @Mister_Manojkumar 2 года назад

    Bro R.id.framelayout.fragment is not working 😕

  • @mukeshroy4971
    @mukeshroy4971 3 года назад +2

    please sir make a video on ViewPager2, tabLayou, swipe

  • @codethrusharing8955
    @codethrusharing8955 2 года назад +1

    wonderful tutorial, thank you so much!

  • @ajayvamsee7508
    @ajayvamsee7508 3 года назад +1

    Hello brother i need help
    I have a home screen in that i have to display some person info with recyclerview
    In homescreen i created fab which is Add button so it will person details input activity.
    So how send that data like Actvity B to Activity A
    I tried with interface to transfer data object and override the method in Activity A and calling from Activity B
    It showing an exception calling a null a method on null reference

    • @_foxandroid
      @_foxandroid  3 года назад +1

      If you want to share data between activites i have a video on that "share data between activities foxandroid" search this

  • @meershahidmanzoor
    @meershahidmanzoor Год назад +4

    In layman's definition fragment may be the sub activity inside the main activity right?? where each sub activity works separately without depending on other however data can be passed on from one fragment to another

  • @Viewer899
    @Viewer899 2 года назад +1

    I just subscribed, finally learned fragments!

  • @fisikfisik6037
    @fisikfisik6037 2 года назад

    Thanks for the tutorial but on my device the backgroundInt don't work. The buttons always purple

  • @1aaron215
    @1aaron215 3 года назад +2

    Thanks man helped me a ton!

  • @AmitKumar-zo5dr
    @AmitKumar-zo5dr Год назад

    Showing error in last two lines :(

  • @Chaitanya_sariyal
    @Chaitanya_sariyal Год назад

    too poor explaination

  • @bilgeergin3016
    @bilgeergin3016 3 года назад +1

    I have linked my app to Google maps. Trailer doesn't work. Build and run gives no errors but codes don't work why?

    • @_foxandroid
      @_foxandroid  3 года назад

      Share code pics on IG

    • @bilgeergin3016
      @bilgeergin3016 3 года назад +1

      @@_foxandroid I wrote to you on Facebook, can you contact me?

  • @itzigma9176
    @itzigma9176 3 года назад +1

    Nice explanation. Thanks a lot for this ❤

  • @tianjian882004
    @tianjian882004 Год назад

    It is fantastic video. Only suggestion is please change background to white so it will be clear.

  • @jonasfalkenbach3284
    @jonasfalkenbach3284 3 года назад +3

    It's so easy and works so well... thanks a lot for this :)

  • @mantapkali4368
    @mantapkali4368 Год назад

    Brother, thank you for the tutorial. Is it possible when open the activity, then shows fragments 1 instead of white blank page. What code do i need to add to make it possible ?

  • @surveyassist6582
    @surveyassist6582 2 года назад +1

    Thanks bro..

  • @seamaster_007
    @seamaster_007 Год назад

    why is your video so grainy? I need to be able to see to follow along!

  • @donphelix5266
    @donphelix5266 2 года назад +1

    Thank you!

  • @haroonarif9876
    @haroonarif9876 2 года назад +1

    v good

  • @nellahtwins2
    @nellahtwins2 2 года назад

    It's not working on me

  • @vmorita
    @vmorita 2 года назад +1

    Thank you!

  • @williamselinder9138
    @williamselinder9138 2 года назад

    So bloody good! It's always the indians aswell 😂

  • @JohnFogarty-p2y
    @JohnFogarty-p2y 7 месяцев назад

    Excellent tutorial presentation. Thank you for posting it!

  • @ahamedsuhails
    @ahamedsuhails 2 года назад +1

    Thanks

  • @rimpyyyyyadavvv555
    @rimpyyyyyadavvv555 2 года назад

    Bhai m beginner aur mujhe abhi fragment use nhi krna h but mere pc m phle se hi first fragment main activity second fragment krke project wale section m aa rha h aur Mera emulator bhi nhi chl rha pls help gradle failed bta rha h

  • @tonymukelabai1283
    @tonymukelabai1283 2 года назад

    Works grear...ps: anybody in a rush. Take time to start the entire playList😉

  • @chanjunyang420
    @chanjunyang420 3 года назад

    Good tutorial and clean code. Thumbs up for u!

  • @justcoder1915
    @justcoder1915 3 года назад +1

    how to set admob banner ad in navigation drawer hindi

    • @_foxandroid
      @_foxandroid  3 года назад

      Please watch Navigation drawer tutorial and put a baaner ad there

  • @pragyanshreedas23594
    @pragyanshreedas23594 2 года назад +1

    i don't get the part fragment1() with the replace method ?????
    what does that mean?

    • @_foxandroid
      @_foxandroid  2 года назад +1

      It basically passes the object of fragment 1 class

    • @pragyanshreedas23594
      @pragyanshreedas23594 2 года назад

      @@_foxandroid Oh, do you have any tutorials on room DB CRUD using fragment?

  • @Mikeroyceful
    @Mikeroyceful 3 года назад +3

    Worked perfectly for me and very informative. Thanks for the wonderful video!

  • @wajidjoseph
    @wajidjoseph 2 года назад

    I need source code of this tutorial

  • @anirudhsahoo92
    @anirudhsahoo92 Год назад

    Nice easy explanation. Helpful for basic implementations

  • @quizworld5
    @quizworld5 2 года назад

    Oh~ thank you so so much. you saved me ^^

  • @nitindhamale8789
    @nitindhamale8789 3 года назад +1

    Excellent

  • @nayangupta9467
    @nayangupta9467 2 года назад +1

    Nice video ever ❤️💯😊🌄👍😎◾❤️🌻💯😊🌄💯😊

  • @mgbhadurudeen336
    @mgbhadurudeen336 3 года назад +2

    Good work. but keep it short. very lengthy video. so litte boring.

  • @rodolphefrancotte6878
    @rodolphefrancotte6878 3 года назад +2

    Explications très claires merci !

  • @truyentranhm4v900
    @truyentranhm4v900 3 года назад

    thank you very much, i love you.

  • @ganeshreddykomitireddy5128
    @ganeshreddykomitireddy5128 Год назад

    Simply superb explanation sir

  • @ammarrajpoot1558
    @ammarrajpoot1558 2 года назад +1

    helpful bro...

  • @nazimraza4890
    @nazimraza4890 3 года назад

    How to pass data from Activity to fragments?

  • @ahdourmohammed2350
    @ahdourmohammed2350 3 года назад +1

    thank you so mosh man

  • @MonjelMorshedSabbir
    @MonjelMorshedSabbir Год назад

    Thank you sir.

  • @rolantembe8514
    @rolantembe8514 Год назад

    Conteúdo super fantástico....

  • @mukeshroy4971
    @mukeshroy4971 3 года назад +1

    very easy to understand, thanks brother

  • @bunyodbek_bekmuhammedov_blog
    @bunyodbek_bekmuhammedov_blog 2 года назад +1

    great

  • @manabsaha5336
    @manabsaha5336 2 года назад

    Nice and simple.

  • @GrumpyOldMan9
    @GrumpyOldMan9 3 года назад

    Unintelligible. Auto-generated English subtitles don't work. Please add manual English subtitles.

  • @abosolutions1967
    @abosolutions1967 3 года назад +5

    Hello brother,
    You referred me here from your other video bother. Your videos are great and you explain things in detail.
    I have download sample source code and I am playing around with it.
    It would really be great if on the sample source code you could implement banner ad on the header section, and only make the banner visible in fragment 1 and make it disabled in fragment 2

    • @_foxandroid
      @_foxandroid  3 года назад

      Hello brother I can't change this source code as other users are also using it...i hope you understand

  • @surveyassist6582
    @surveyassist6582 2 года назад

    Seach in fragment

  • @kunalmahajan5310
    @kunalmahajan5310 3 года назад +1

    Pls add caption with English Language

    • @_foxandroid
      @_foxandroid  3 года назад

      Sure sir! Thanks for the feedback...means a lot❤

  • @DanyalKarney
    @DanyalKarney 10 месяцев назад

    It help me a lot❣... Thanks .@DanyalKarney