本文介绍了材料设计步进控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以给我一个想法,如何开始实现Android Material Design指南中所述的垂直,非线性步进控制:

Could someone give me an idea how to begin implementing vertical, non-linear stepper control described in the Android Material Design guide here:

http://www.google.com/design/spec/components/steppers.html

推荐答案

您可以检查此,但是该库仍在开发.

you can check this library , however this is still in development.

只需扩展 mobileStepperSimple 类,并实现init,onFinished方法即可.

just extend the mobileStepperSimple class and implement the methods init,onFinished.

您可以通过扩展 stepperFragment 将步进器添加为片段,并实现 onNextButtonHandler 来处理下一次按钮单击.

you can add the steppers as fragments by extending the stepperFragment and implement onNextButtonHandler to handle next button click.

检查演示以了解更多用法.

任何贡献和优化都会有所帮助.

any contributions and optimization will be helpful.

这篇关于材料设计步进控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 09:58