FRAGMENTS - Android Fundamentals

  Рет қаралды 324,136

Philipp Lackner

Philipp Lackner

4 жыл бұрын

In this video you will get to know the concept of fragments and how to actually use them in our app.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses...
Get my FREE PDF about 20 things you should never do in Jetpack Compose:
pl-coding.com/jetpack-compose...
💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:
elopage.com/s/philipplackner/...
Regular Android tutorials on my Instagram: / philipplackner_official
Checkout my GitHub: github.com/philipplackner
You like my free content? Here you can me a coffee:
www.buymeacoffee.com/philippl...

Пікірлер: 407
@xTwisteDx
@xTwisteDx 4 жыл бұрын
WOW! Fantastic video. This explained fragments better than my instructors by a massive margin. Keep up the great work!
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thank you so much for your awesome feedback man, that makes me really happy and I'm glad it helped you!!
@pieror.pinatelli1341
@pieror.pinatelli1341 4 жыл бұрын
I agree, he literally did a 3h class in 17 mins. so simple
@suleimanzhukov
@suleimanzhukov 3 жыл бұрын
Same
@igorthelight
@igorthelight 2 жыл бұрын
Free KZbin tutors with passion > Paid University teachers with "I'm doing my job" mentality ;-)
@dawid7891
@dawid7891 3 жыл бұрын
Kind of tutorials I like most: not only showing how it's done, but also explaing why is it done this way. Thank you.
@nbr1YankeeFan
@nbr1YankeeFan 3 жыл бұрын
Finally! a simple video that shows how to create and switch between fragments. Thank you so much for this!!!
@JoeMadds0
@JoeMadds0 Жыл бұрын
For those who's design view disappears or goes blank, like mine did once I added the element as shown @ 1:40, I may have a solution for you. The tl;dr: Follow the tutorial to 10:30, because you'll need the new classes and layouts that Phillip shows you how to make. Once you get to the 10:30 mark, take a pause and add this line of code to the element in activity_main.xml: tools:layout="@layout/fragment_first Voila, your design view should be showing again. To know how to find solutions like this yourself: If you had the same error as me, follow the video to 10:30, and before you add the code as shown in the tl;dr(delete it now if you did), at the top right of the design view you should see a red circle with an exclamation(!). Clicking that will open a panel at the bottom of the screen showing errors/issues, and one of them will have the same red exclamation saying "Unknown Fragments". Click the carrot to the left of that and it will describe why there is an error, but more importantly it will fix it for you if you click the blue link(this link will only appear if you have created a fragment layout to insert into the fragment) that says "Use@layout/fragment_first, Pick Layout...". Doing so will add the line of code "tools:layout="@layout/fragment_first"" to the element for you. Took me about longer than I care to admit to resolve this, so hopefully this helps someone. Oh and thanks for the tutorials Phillip! I'm really enjoying them :)
@charismaswitch1515
@charismaswitch1515 Жыл бұрын
was struck here for half hour!! thanks
@pietrocasavecchia6007
@pietrocasavecchia6007 Жыл бұрын
Thank you so much
@josipmarasovic7084
@josipmarasovic7084 Жыл бұрын
i love u >P
@klcbsoft
@klcbsoft Жыл бұрын
Thanks for your explanation. The handling of the design-portion is a massive turn-off in Android Studio/IntelliJ. Going invisible whenever AS doesn't know what to do is a horrific way to guide users for such a mature IDE.
@orbulak
@orbulak Жыл бұрын
Thank u bro, i love u❤🤣
@Mr_DJB
@Mr_DJB 2 жыл бұрын
Spent 2 days trying to suss out how fragments work and how to move between them, and finally this video gives me a concise and easy to understand explanation. Thank you so much
@ranvaknin9669
@ranvaknin9669 3 жыл бұрын
Ive been developing on android for almost a year now and only now I feel like I've really understood fragments. Keep it up
@ibrahimylmaz8378
@ibrahimylmaz8378 Жыл бұрын
I'm super new and I was able to follow through %100. You are amazing and one of the best tutors I've ever seen. Thanks to people like you, hopefully, I'll get a job in this field. Thank you!
@kaustubhkulkarni
@kaustubhkulkarni 4 жыл бұрын
This video provided so much clarity on fragments! Really helped me. Thank you!
@suleimanzhukov
@suleimanzhukov 3 жыл бұрын
I understood everything without knowing Kotlin 😅 Thank you, man
@guy1407
@guy1407 4 жыл бұрын
one of the simplest demo I have watched, that actually works. Thanks a lot !
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Happy to hear that! Thanks
@cheesegeezer5019
@cheesegeezer5019 2 жыл бұрын
Best Android Dev Video out there!! Coming from C# and various front end mark ups like mcml, winforms and WPF,etc, I find the android environment very "fragmented" and hard to understand. This video alone has helped me out massively. Thank you very much!!
@ecuyar
@ecuyar 3 жыл бұрын
Thanks for your video. I was searching the components of android so I can understand better because it has lots of material and complicated stuff. Now these videos are the exact things that I need.
@loganwhite5467
@loganwhite5467 3 жыл бұрын
Clearest video yet! I am sure this is a very complicated subject based on the vies and comments, and I understood it perfectly. Thank you!
@ranmasaotome1094
@ranmasaotome1094 Жыл бұрын
Dude I love you, I have been trying to do this for days, and you just taught it to me in under 20 minutes
@andreasgeorgiou9109
@andreasgeorgiou9109 3 жыл бұрын
As an Android Studio beginner, I find this video very helpful. Very nice and clear explanation about fragments! Thank you...
@samdroid37
@samdroid37 Жыл бұрын
perfect! thank you Philipp! i appreciate these tutorials so much. hope you are doing well!
@allanralph2508
@allanralph2508 3 жыл бұрын
Thanks Philipp Lackner, this is one of THEEEE Best Explanations out there. You are too good a teacher !
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks!!
@kopilkaiser8991
@kopilkaiser8991 Жыл бұрын
Thank you for your lesson on fragment. I came to this topic today on my job, as a junior android app developer there are still many things to learn.
@GuitarreroDaniel
@GuitarreroDaniel 3 жыл бұрын
Terrific explanation, this was the only video that made me understand the difference between Activity and Fragment.
@goddayokoduwa6180
@goddayokoduwa6180 3 жыл бұрын
The best video on fragment I have watched so far. You are such an awesome teacher
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks🙏
@edoforna9952
@edoforna9952 Ай бұрын
thanks man, after 4 years this video is still very useful :)
@localblackman427
@localblackman427 3 жыл бұрын
This what a phenomenal tutorial. I'm getting ready to make my first tablet app and this is clutch!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad it was helpful!
@valarmorghulisx
@valarmorghulisx 4 жыл бұрын
Thank you so much! i finished this tutorial today. You are the best android teacher!
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thank you so much!!
@StormKillProduction
@StormKillProduction 4 жыл бұрын
Thank you so much for this Video! Nice and easy explanation of fragments, really helped me.
@atulyadav5859
@atulyadav5859 3 жыл бұрын
Once again thanks for saving my day, Your Tutorials are Amazing.
@chrisconrad6402
@chrisconrad6402 11 ай бұрын
Great job making this concept simple and easy to understand.
@laurentbajrami3688
@laurentbajrami3688 3 жыл бұрын
Best vid I've seen on the topic! Thank you!
@dankosalopek8870
@dankosalopek8870 4 жыл бұрын
dam, watched like 5 videos so far about this and u are the first one who explained nicly
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks man, happy to help🙏
@Braunsleeve
@Braunsleeve 2 жыл бұрын
Best android tutorials out there! TYSM!
@Olegator56
@Olegator56 10 ай бұрын
Very clear and still relevant guide in 2023. Thank you
@galanteria01
@galanteria01 3 жыл бұрын
Definitely great explaination. Fragment were never too comfortable but now they are
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks!
@chadzulu4328
@chadzulu4328 2 жыл бұрын
Very clear and concise explanation, vielen dank Philipp!
@tonycheng1614
@tonycheng1614 3 жыл бұрын
for god sake, you saved me tons of times for figuring out by myself
@superfriend7117
@superfriend7117 4 жыл бұрын
Sir your teaching style and your voice is very clear and very easy to understand , you are just amazing Sir.
@evelynediazaraque6095
@evelynediazaraque6095 3 жыл бұрын
Thank you so much! This was incredibly easier to understand.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
You're welcome :)
@SocienNeicos
@SocienNeicos 11 ай бұрын
Incredible explanation, thank you so much
@AminaMuradalieva
@AminaMuradalieva 11 ай бұрын
Thank you so much! Your explanation is really comprehensive))
@utf-238e8
@utf-238e8 3 жыл бұрын
Better explained than in most videos I've seen Thank you !
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks! :)
@CuriousCyclist
@CuriousCyclist 2 жыл бұрын
That was a really good video. Thanks for taking the time to make it.
@RomskieL
@RomskieL 3 жыл бұрын
Very clear and concise video! Thank you!
@dominicldoe4838
@dominicldoe4838 3 жыл бұрын
Amazing man!!! Very easy to understand. Thanks!!
@harshchaudhary2261
@harshchaudhary2261 3 жыл бұрын
Easy and clean explanation. Thanxx a lot!
@wryguy
@wryguy 3 жыл бұрын
Fantastic tutorial. Thank you so much. Subbed!
@stasleonov5196
@stasleonov5196 Жыл бұрын
Very cool, clear and simple, thank you very much.
@hafifkiloyladaolsadeadlift5428
@hafifkiloyladaolsadeadlift5428 Ай бұрын
That was a great video. Thank you!
@aleshanmaistry1367
@aleshanmaistry1367 2 жыл бұрын
Amazing tutorial. Thank you so much!
@venus6222
@venus6222 2 жыл бұрын
Great video. You make learning android feel easy!
@Marinakulichok
@Marinakulichok 3 жыл бұрын
Thank you for this video! I am planning to watch all of them
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Happy learning 👍
@gerdsfargen6687
@gerdsfargen6687 6 ай бұрын
A million subs for this man. Thank you! Danke Schön
@MrVipulLal
@MrVipulLal Жыл бұрын
Comprehensive tutorial. Thanks 🙏
@rashiddev7545
@rashiddev7545 2 жыл бұрын
Just amazing, really thank you man.
@mohammednashat6707
@mohammednashat6707 2 жыл бұрын
always you made learning android easy , thank you philipp .
@Sam-yb9ut
@Sam-yb9ut 2 ай бұрын
Extremely useful, Thank you
@bigotes20random86
@bigotes20random86 2 жыл бұрын
Amazing tutorial, tysm mate! :D
@sanketjadhav2255
@sanketjadhav2255 4 жыл бұрын
This was so so sooooooo helpful sir. Today i was about to quit android dev because i got stuck on fragments. You explained is soooo well.. thanks a lot sir.
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Lol, don't quit android dev because you feel stuck. You will feel stuck so often in development, solving those problems will make you better. But thanks a lot for those compliments, I'm glad I could help! 🙏🙏
@lanzylanzgerlan8931
@lanzylanzgerlan8931 2 жыл бұрын
Phillip wont disappoint us , hands up to this dev
@ryanbennett6801
@ryanbennett6801 3 жыл бұрын
You explain this really well. Thanks for making these videos
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thank you, you're welcome mate!
@luisalejandroquirogagomez1721
@luisalejandroquirogagomez1721 4 жыл бұрын
Thank you, very informative! I have a lot of trouble understanding when and where to use fragments instead of activities. This throws a little rope for me.
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thank you!
@kibirigejohn8324
@kibirigejohn8324 3 жыл бұрын
Thank you Phillipp this was really helpful
@amitray769
@amitray769 2 жыл бұрын
Very clear video really love your content
@Tone463
@Tone463 2 жыл бұрын
Hi Philipp! It would be also useful to see how we go from a view inside fragment1 to fragment2
@ug_it_english
@ug_it_english 9 ай бұрын
Thank you very much, thank you for sharing . I bow to you.
@claudiograsso
@claudiograsso 2 жыл бұрын
Excellent tutorial. Thanks a lot!
@samuelonyango879
@samuelonyango879 3 жыл бұрын
Hi Phillip, thank you for this wonderful tutorial, very nice explanations there. I am new to android development and your tutorials are amazing! I would like to do the same things with switches, I have switch 1 and switch 2 in first fragment and under its layout I have some text view items whose visibility have been set to gone and I would like them to appear once the respective switches are turned on. How can I link them up like that? Thank you Phillip.
@ismailkoyuncu5518
@ismailkoyuncu5518 3 жыл бұрын
Thank you for this video! Really very nice explations.
@CosmoVision1
@CosmoVision1 2 жыл бұрын
Amazing content as usual. Keep it up!
@Kunal-jp8tn
@Kunal-jp8tn 2 жыл бұрын
Thank you so much for this great tutorial....
@80amnesia
@80amnesia 4 жыл бұрын
simple and straight to the point. thanks
@PhilippLackner
@PhilippLackner 4 жыл бұрын
You're welcome!
@deepaktiwari620
@deepaktiwari620 Жыл бұрын
Wow u r too good sir ! it's helps me a lot .. keep making video like this ... love from india.
@mullatoez
@mullatoez 3 жыл бұрын
Well explained. This is marvelous!
@lancesamaria8130
@lancesamaria8130 Жыл бұрын
GREAT Explanation dude!!!
@rogadev
@rogadev 3 жыл бұрын
Wow. Android tutorials that actually make sense, presented with someone who doesn't have an atrocious accent? You deserve a goddamn medal. Thank you for posting these videos - I'm definitely checking out your other videos later.
@siddhartharoychowdhury2489
@siddhartharoychowdhury2489 Жыл бұрын
best video explanation of fragments using Kotlin I have found so far
@ClintonSiegel
@ClintonSiegel 3 жыл бұрын
Fantastic video! Wow. Thank you!
@tinasun8136
@tinasun8136 Жыл бұрын
Awsome! Thank you.
@mukulasija4501
@mukulasija4501 2 жыл бұрын
Thank you so much... this video has very very nice explanation..
@rickbielawski9442
@rickbielawski9442 3 жыл бұрын
Finally a demo that actually works.
@ericfricke4512
@ericfricke4512 3 жыл бұрын
Top notch content. Thanks!
@SatyamRaikwar262238
@SatyamRaikwar262238 3 жыл бұрын
Awesome man !! Bravo !! It was Fantastic .
@brucebane7401
@brucebane7401 3 жыл бұрын
understood perfectly !!!!!amazing
@laurentbajrami3688
@laurentbajrami3688 3 жыл бұрын
Best video on the topic!
@mbalukimwagastika3259
@mbalukimwagastika3259 4 жыл бұрын
Great tutorial thank you! what i like about your vid is that ur using 4.0 other videos are using old versions who arent using the androidx tags.
@francotavares5448
@francotavares5448 Жыл бұрын
Very useful!! Thank you.
@_bhuvaneshwaran123
@_bhuvaneshwaran123 11 ай бұрын
Thank you so much, itz very useful for me 🎉🎉
@NagpuriTadakBhadak
@NagpuriTadakBhadak 3 жыл бұрын
Thanks for an easy tutorial
@bbulliard
@bbulliard 2 жыл бұрын
Wonderful video! you are a great teacher!! Thank you for putting this together...Bob
@ColumbianCocain
@ColumbianCocain 3 жыл бұрын
Absolutely Brilliant explanation!!!! Cheers!!!!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad it was helpful!
@tomaslopez9999
@tomaslopez9999 3 жыл бұрын
Thank you, this video is very useful. Although, I had to use data binding to use the btnFragment the same way you did.
@dafomchollom1476
@dafomchollom1476 4 жыл бұрын
Awesome video, the best explanation on fragments I have seen.
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thank you, happy to help🙏🙏
@esquilo_atomico
@esquilo_atomico 2 жыл бұрын
Lovely content. Thanks
@mikloskontra1981
@mikloskontra1981 4 ай бұрын
Very good explanation thank s
@berkahsolusikuapp8976
@berkahsolusikuapp8976 3 жыл бұрын
so simple and for beginer.. thanks.
@user-ed8xj1py6w
@user-ed8xj1py6w Жыл бұрын
Thank you very much Philipp.
@PhilippLackner
@PhilippLackner Жыл бұрын
You are very welcome
@manikuits
@manikuits 2 жыл бұрын
Just wow...thanks a lot of brother
@mohamedkacem5095
@mohamedkacem5095 2 жыл бұрын
amazing video thank you!
@sumanpanda157
@sumanpanda157 9 ай бұрын
🤩 what a simplest way to teach Fragment 🥳
@viktorstiblo6649
@viktorstiblo6649 3 жыл бұрын
Very nice video! Thank you.
@r_yan3531
@r_yan3531 3 жыл бұрын
One of the reson to like you is that you don't remove constraint layout to replace with linear or relativ layout
@georgematua
@georgematua 4 жыл бұрын
Super explanation! Keep it up please!
@os4_official
@os4_official 2 жыл бұрын
Thanks, man!
BOTTOM NAVIGATION VIEW - Android Fundamentals
16:53
Philipp Lackner
Рет қаралды 53 М.
RECYCLERVIEW - Android Fundamentals
24:58
Philipp Lackner
Рет қаралды 101 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 77 МЛН
What is the Context? - Android Basics 2023
11:22
Philipp Lackner
Рет қаралды 50 М.
LAYOUT BASICS AND LINEAR LAYOUT - Android Fundamentals
16:45
Philipp Lackner
Рет қаралды 112 М.
Fragment in Android Studio using Kotlin | Android Knowledge
15:36
Android Knowledge
Рет қаралды 8 М.
CONSTRAINT LAYOUT BASICS - Android Fundamentals
14:02
Philipp Lackner
Рет қаралды 76 М.
ViewModel Explained - Android Architecture Component | Tutorial
8:27
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 189 М.
Android Fragment Lifecycle in 192 Seconds
3:13
Vlad Sonkin
Рет қаралды 13 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН