Back to Browse

Tip Calculator Ep 3: User Input - Android App Tutorial for Beginners

7.0K views
Nov 29, 2019
15:05

This video (episode 3 of 4) adds logic in the Kotlin file to listen for changes in the base amount or tip percent, and update the calculation. Since there's no "submit" button in our app, we want to update the UI every time the user makes a change in either of the input fields. ➤ Next video: https://www.youtube.com/watch?v=29qX_-ckZkQ&list=PL7NYbSE8uaBBAl6MQKvUKk0yGrAO4HSfY ➤ Tip Calculator video playlist: https://www.youtube.com/playlist?list=PL7NYbSE8uaBBAl6MQKvUKk0yGrAO4HSfY In these video tutorials, we build an Android tip calculator app! After you enter a base amount and a tip percentage, the app will calculate the tip and total for you. We also implement a tip percentage animation and a footer to make our app more unique. References: ➤ Working with the EditText (adding a text watcher): https://guides.codepath.com/android/Working-with-the-EditText ➤ ConstraintLayout guide: https://developer.android.com/training/constraint-layout ➤ Picking a color palette: https://color.adobe.com/create ➤ ConstraintLayout vs RelativeLayout: https://constraintlayout.com/layouts/relativelayout.html ➤ Color interpolation: https://developer.android.com/reference/kotlin/android/animation/ArgbEvaluator Hi! I’m Rahul, a software engineer with a passion for teaching. I went to Stanford, was a founding engineer at a startup, and have worked at various companies across Silicon Valley. I’m currently an Android Developer and teach an Android class at Stanford. Would love to connect with you! This channel is about tech (especially Silicon Valley), combining tactical how-to guides with interviews. 📹 YouTube: https://www.youtube.com/c/RahulPandeyrkp?sub_confirmation=1 📝 LinkedIn: https://www.linkedin.com/in/rpandey1234/ 🐦 Twitter: https://twitter.com/rpandey1234 📸 Instagram: https://www.instagram.com/rpandey1234/ 📂 Github: https://github.com/rpandey1234/

Download

0 formats

No download links available.

Tip Calculator Ep 3: User Input - Android App Tutorial for Beginners | NatokHD