简体   繁体   中英

Using material.io lists in android

According to the newest maven website the newest material.io version is: com.google.android.material.material-1.4.0-beta01

Which I did import:

implementation 'com.google.android.material:material:1.4.0-beta01'

According to the documenttation , listviews are already available in material.io.

However according to my XML-Layoutfile, there are no .lists. classes, how can that be? Am I missing some import? 进

The components provided by the package com.google.android.material.lists are not included in the 1.4.0 version.

In any case, the current components are only ViewHolder :

  • SingleLineItemViewHolder
  • TwoLineItemViewHolder
  • ThreeLineItemViewHolder

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM