简体   繁体   中英

Android Data table : does it exist?

Android design documentation tells about "Data tables", which offer a lot of interesting features ( https://material.google.com/components/data-tables.html ). Unfortunately, in the latest version of Android studio as of 25:10:2016, "Data table" component is not implemented. I read the StackOverflow answer (2015) that says to use something else. But I would like to know if this implementation exists somewhere in android studio in a place I dont know, or if it is not quite ready and will exist soon, or if it will never exist. In that case it would be better to strip off that "Data table" from the design documentation.

Not all components described in the Material design specifications are directly mapped to a View provided in the SDK. Most are just guidelines you should follow when creating the presentation layer of your app :-)

Providing a View makes sense for some of the components that are special or potentially memory heavy, such as CardView or the FloatingActionButton . But it also limits the user, so in most cases the platform provides less specific tools you can use to build exactly the thing you want :-)

As for "data tables", this can be easily implemented using a RecyclerView with a specific adapter.

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