UI Component Catalog for Android

UI Component Catalog for Android

AndroidでUI Componentの一覧を表示をする

kazutoyo

March 27, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

26 slides
  1. ComponentCatalogActivityΫϥεΛܧঝͯ͠ createCollections()Λ࣮૷͢Δ class TellerUIComponentCatalogActivity : ComponentCatalogActivity() { override fun createCollections():

    List<ComponentCatalogCategory> = listOf( ComponentCatalogCategory("Common", listOf( ComponentCatalogSubCategory("ϑΥϩʔϘλϯ", listOf( object : ComponentItem("ϑΥϩʔϘλϯʢະϑΥϩʔʣ") { override fun buildItem(): View { return FollowButton(this@TellerUIComponentCatalogActivity).apply { setIsFollowed(false) } } } )) )) ) }

Other Decks in Programming