Fragments (Part 2) – Beginner's Guide to Android App Development In 2023



Fragments (Part 2) – Beginner's Guide to Android App Development In 2023

Fragments (Part 2) - Beginner's Guide to Android App Development In 2023

In part 2 of Fragments, we dive deeper into the callbacks of the fragment’s lifecycle. We learn how we can use some of them accordingly to interact with our views and write our initialization code. We also learn how we can viewBinding in fragments to ease code-to-view interaction.

Timestamps:
0:00 Intro
0:38 Interacting with fragments views
3:57 ViewBinding in fragments
10:15 Preserve Fragments state (viewModel)

Regular coding shorts on TikTok
https://www.tiktok.com/@astroscoding

Regular coding posts on Instagram
https://www.instagram.com/astroscoding/

Regular coding tips on Twitter
https://twitter.com/astroscoding

If you’d like to support me buy me a coffee at
https://www.buymeacoffee.com/astroscoding