问题描述
有人可以给我一个想法,如何开始实现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.
这篇关于材料设计步进控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!