Google Android Study Jam 學習筆記(4)

0 minute read

學習範圍

單元 3 課程 2~5

Android Studio

  1. fragment

    • 一種可以重複利用的 UI

    -life cycle state

  2. Navigation

    • NavHostFragment: container for destinations
    • NavController: conducts navigation
    • NavigationView: menu of drawerlayout
    • NavigationUI: update content outside NavHostFragment
  3. Navgraph

    • app 中導覽的對應 ex. 從 Home -> Setting
  4. 結構準則

    • separation of concerns
    • driving UI from a model
    • main classes / components in Android architecture: UI Controller (activity/fragment), ViewModel, LiveData and Room
  5. SlidingPaneLayout