JungIn Choi
03/27/2021, 1:25 PMDay16
• Lesson3 in Developing Android Apps with Kotlin
◦ Back stack manipulation (controlling pop up behavior, setting inclusive flag)
◦ Using Up button (NavigationUI), Menu bar (setHasOptionsMenu, onCreateOptionsMenu, onOptionsItemSelected)
◦ Passing parameters from fragment to fragment using SafeArgs
▪︎ Fragments contain argument in form of Android Bundle(key-value form. Have to take care of data types for value.) SafeArgs(Gradle plugin) guarantees the arguments of both sides match.
• Etc. memos
◦ (android studio) ctrl+O shows overridable methods
◦ Building issues are really frustrating. 😞😞 I imported safe args plugin but Directions class never got generated. Tried everything here but failed. Problem solved with this.
Self-Comment
• Thinking of some side projects. Having vacation in an island is good for pulling up creativity I guess (?) Maybe I should specify ideas, throw away some, fill out documents and draw layouts in figma for selected ones.
• First time using git squash (but soon faced some git error.. I had to push force;; wt..)
• Turning off cellphone really boosts up productivity. Spent not much time today, (less than three hours?) but efficiency was nice (just except for that building issues..🤯)
GoalsTomorrow
• Finish lesson 3 (please) and move on to lesson 4 life cycle