Android 程式開發學習資源

Android for Developers

Android Basics in Kotlin

  Unit 1: Kotlin basics

    Introduction to Kotlin

    Create your first Android app
    
    Build a basic layout
    
      Create a Birthday Card app: app sample code
    
      Add images to your Android app: sample code
    
    Add a button to an app
    
      Classes and object instances in Kotlin: sample code

      Create an interactive Dice Roller app: sample code
      
      Add conditional behavior in Kotlin: sample code

      Add images to the Dice Roller app: sample code

      Write unit tests: sample code
      
      Intro to debugging: sample code
      
      Project: Lemonade app: sample code

    Tool:

      Kotlin Playground - interactive code editor
      
      android studio
      
    References:
    
      Kotlin style guide
      
  Unit 2: Layouts
  
    Get user input in an app: Part 1
    
      Classes and inheritance in Kotlin: sample code
      
      Create XML layouts for Android: sample code
      
      Calculate the tip: sample code
      
        View binding
        
    Get user input in an app: Part 2
    
      Change the app theme: sample code
      
       Color Tool
       
       Material palette generator
       
     Change the app icon: sample code
     
     Create a more polished user experience: sample code
     
     Write Instrumentation Tests: sample code
     
       Espresso basics
 
   Display a scrollable list
   
     Use Lists in Kotlin
     
       Kotlin: Collections overview
     
     Use RecyclerView to display a scrollable list: sample code