`Day14` - Finished Lesson2 in Developing Android A...
# 100daysofkotlin-2021
j
Day14
• Finished Lesson2 in Developing Android Apps with Kotlin ◦ Data binding(View, Data) ▪︎ findViewById is inefficient, since Android has to traverse the view hierarchy at runtime. However, Data binding allows the layout and activity to be connected at compile time (when activity is created, compiler generates a binding object) ▪︎ Manage texts with string resources is good. Creating a Data class and binding the data variables with view is better. ◦ Layout Editor, Layout basics ▪︎ Constraint Layout(Advantage (responsive, flat view hierarchy, free form) ▪︎ Chaining(spread chain, packed chain, weighted chain etc.), Baseline constraints(order matters - element with baseline constraint cannot originate another baseline constraint)
Self-Comment
• View binding vs. Data binding for views? As far as I remember there was something called view binding, mentioned at beginning of the course, but data binding introduced here seems to be a wider/complex concept I guess. • Layout editing jobs were quite time-consuming but following the tutorials were worthy. It was like uhh.. art class. felt like playing with lego or origami. • Should practice git and clean up my messy github. I was mostly using it as a cloud storage or something. 🙄 Currently managing udacity practice tutorial apps in github. Lots of things to consider. Should gather rules of thumb.. ◦ How to write a nice commit message? - Using present tense verbs such as Implement, Add, Update seems to be nice. ◦ How much should be the unit/block of commit? - Making it into smaller unit seems to be better than a bulky commit.. • Lovely days working in Jeju island, already day 4. Everything is perfect except that I don’t have extra monitor and mouse. I should buy some “good” mouse when I get back home, it seems necessary for layout editing jobs.
GoalsTomorrow
• Finish lesson3. • Check on medium article suggested by Junho Park & use apk analyzer for demo apps.
🔥 1
K 1