Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin codelab

Based on official taking advantage of kotlin codelab

Steps:

  • ContactsAdapter
    • visibility modifiers
    • properties
    • constructor
    • val Vs var
    • single line methods
    • [] and +=
  • Contact
    • data classes
    • Parcelize annotation
  • ContactViewHolder
    • init/join declaration and assignment
    • Contact?
    • lambdas
    • string templates
  • ContactDetailDialog
    • companion object
    • @JVMStatic
    • default parameters
    • lateinit
    • ? ?: !!
    • extension methods
    • longToast
    • apply/let
  • ContactsActivity
    • when
    • Android extensions to avoid findViewById
  • ContactsRepository
    • use
    • delegates

About

Codelab to convert a Java Android app to Kotlin

Topics

Resources

Stars

10 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages