FRAGMENTS - Android Fundamentals

FRAGMENTS - Android Fundamentals

Philipp Lackner

5 лет назад

352,104 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@xTwisteDx
@xTwisteDx - 23.04.2020 23:34

WOW! Fantastic video. This explained fragments better than my instructors by a massive margin. Keep up the great work!

Ответить
@itzikovadia851
@itzikovadia851 - 12.02.2025 10:05

thanks a lot for this helpful vedeo. in the new android ver5sion it is must to add findviewbyid for the two buttons otherwise error will be reported

Ответить
@saifrehman5090
@saifrehman5090 - 09.02.2025 14:06

Best Video on Fragments!

Ответить
@chrakesh5181
@chrakesh5181 - 15.09.2024 20:15

Bro..
Where to code inside a fragment. Could u provide code for adding two numbers inside fragments..

Ответить
@troytaylor108
@troytaylor108 - 26.07.2024 01:01

Man, thanks!! That tutorial was on point!

Ответить
@shahzaibkhan7517
@shahzaibkhan7517 - 22.07.2024 13:59

"setonClickListener" this function is not show in my android. can you tell me the reason of it or tell me other way to show it or alternate of this.

Ответить
@prabhatgupta1497
@prabhatgupta1497 - 05.07.2024 09:48

thank you very much for such a nice tutorial series. I have one query that Every button click is pushing new fragment instance, it may cause memory issue, how to push fragment uniquely in backstack ?

Ответить
@hafifkiloyladaolsadeadlift5428
@hafifkiloyladaolsadeadlift5428 - 25.05.2024 13:36

That was a great video. Thank you!

Ответить
@edoforna
@edoforna - 11.05.2024 02:44

thanks man, after 4 years this video is still very useful :)

Ответить
@Sam-yb9ut
@Sam-yb9ut - 02.05.2024 11:57

Extremely useful, Thank you

Ответить
@naturelife7655
@naturelife7655 - 12.04.2024 13:29

Hey! How you used button views without binding them to ids?

Ответить
@jafarpirooj-rx3tm
@jafarpirooj-rx3tm - 10.02.2024 04:09

Thank you. I have a question . How to design fragments to get whole screen? I have a recycleview and I want to when I click on one of them, open fragment

Ответить
@mikloskontra1981
@mikloskontra1981 - 08.02.2024 10:02

Very good explanation thank s

Ответить
@gerdsfargen6687
@gerdsfargen6687 - 20.12.2023 14:32

A million subs for this man. Thank you! Danke Schön

Ответить
@AmirthalakshmiPerumal
@AmirthalakshmiPerumal - 07.12.2023 15:44

All Super Good . I have doubt and really excited to know how can we use btnFragment1 without declararion in code on MainActivity.

Ответить
@Adix_Null
@Adix_Null - 08.11.2023 00:14

If you get unknown fragments error just add line tools:layout="@layout/your_fragment"

Ответить
@Mirtguitar
@Mirtguitar - 18.10.2023 10:22

good tutorial

Ответить
@ug_it_english
@ug_it_english - 29.09.2023 14:35

Thank you very much, thank you for sharing . I bow to you.

Ответить
@sumanpanda157
@sumanpanda157 - 26.09.2023 10:27

🤩 what a simplest way to teach Fragment 🥳

Ответить
@Olegator56
@Olegator56 - 10.08.2023 23:14

Very clear and still relevant guide in 2023. Thank you

Ответить
@kunalpende
@kunalpende - 02.08.2023 10:44

sir it gets framents has bug hot to solve that...
also how you access buttons on clicklistener without declaring it above...

Ответить
@SocienNeicos
@SocienNeicos - 02.08.2023 04:25

Incredible explanation, thank you so much

Ответить
@toyshopenterprises
@toyshopenterprises - 31.07.2023 13:29

Android fragments on iPad in thumbnail??

Ответить
@primaryJeemail
@primaryJeemail - 28.07.2023 01:53

I'm using ANdroid Studio Flamingo. When I create empty project, I'm not able to see Action bar, is this because by default action bar is not set? how to make it visible by default?

Ответить
@AminaMuradalieva
@AminaMuradalieva - 19.07.2023 14:02

Thank you so much! Your explanation is really comprehensive))

Ответить
- 17.07.2023 14:07

Wonderful tutorial. I have a question. How can you call button by ID without declaring the variable?

Ответить
@chrisconrad6402
@chrisconrad6402 - 17.07.2023 01:00

Great job making this concept simple and easy to understand.

Ответить
@_bhuvaneshwaran123
@_bhuvaneshwaran123 - 16.07.2023 13:44

Thank you so much, itz very useful for me 🎉🎉

Ответить
@ramadhansaputra3812
@ramadhansaputra3812 - 05.06.2023 09:47

framelayout, begintransaction, commit, addtobackstack

Ответить
@lancesamaria8130
@lancesamaria8130 - 27.04.2023 21:00

GREAT Explanation dude!!!

Ответить
@safvdd1500
@safvdd1500 - 26.04.2023 11:57

didn't understand how did you use buttons in mainactivity without initialization ?

Ответить
@leonelp9593
@leonelp9593 - 23.03.2023 23:35

i love u bro

Ответить
@达涅利
@达涅利 - 17.03.2023 07:14

Great Video, I am new to kotlin, I wonder why your can direct use the button , such as btnFragment1.setOnClickListener , I have to val btnFrament1 botton::

Ответить
@BCS_AAMIRASHRAF
@BCS_AAMIRASHRAF - 14.03.2023 22:55

those who can't see their design in replace <fragment with <FrameLayout

Ответить
@zahidsyuqrizulkffli-pq8ou
@zahidsyuqrizulkffli-pq8ou - 07.03.2023 14:05

Fantastic workk

Ответить
@yizifood4617
@yizifood4617 - 04.03.2023 16:50

I keep getting unresolved reference fragment

Ответить
@NielFiv
@NielFiv - 03.03.2023 05:50

I can't proceed because of the design tab, buttons and fragment won't show up. feels like I need the Gradle Scripts

Ответить
@Oxcy2013
@Oxcy2013 - 13.02.2023 12:25

best video explanation of fragments using Kotlin I have found so far

Ответить
@BaiBator
@BaiBator - 29.01.2023 05:39

Hey Philip ! Wehe did you learn all these things ? You seemed pretty familiar and sophisticated while coidng. Can you recommend some sources ? I've bought some Udemy courses but they doesn't expalin a lot to me.

Ответить
@uditnair90
@uditnair90 - 24.01.2023 06:46

Consider this comment as the *Lip Smack NICE* meme.

Ответить
@CompilePoint
@CompilePoint - 17.01.2023 08:31

great work bro i have created similar video on my channel if you have time do check it

Ответить
@youssefkhaled1189
@youssefkhaled1189 - 05.01.2023 12:02

F A N T A S T I C. Thank you so much <3.

Ответить
@MrVipulLal
@MrVipulLal - 29.12.2022 00:07

Comprehensive tutorial. Thanks 🙏

Ответить
@francotavares5448
@francotavares5448 - 29.11.2022 14:43

Very useful!! Thank you.

Ответить
@maryana44s
@maryana44s - 15.11.2022 04:51

with viewbinding:
binding.btnFirstFragment.setOnClickListener {
supportFragmentManager.beginTransaction().apply {
replace(R.id.fragment, firstFragment)
commit()
}
}

binding.btnSecondFragment.setOnClickListener {
supportFragmentManager.beginTransaction().apply {
replace(R.id.fragment, secondFragment)
commit()
}
}

Ответить
@joaoluis8481
@joaoluis8481 - 21.10.2022 22:37

those lines apparently don't work in my Android Studio. its looks like old lines for my version

rlly dont know

Ответить
@maryana44s
@maryana44s - 19.10.2022 20:53

good fundementals - slightly annoying that you use syntetics everywhere so have to google a lot. Why not to use findViewById initially?

Ответить