How would one implement a NumberPicker in Android API 7?

后端 未结 4 1013
名媛妹妹
名媛妹妹 2020-12-19 09:42

There\'s a NumberPicker widget in API 11, but I\'m building for a minimum API of 7. How would I go about implementing one? Is there a custom widget that I can use, or is the

4条回答
  •  温柔的废话
    2020-12-19 09:47

    copy the NumberPicker's code in API11 to your project.

    xuyao's post doesn't work. The NumberPicker has API11-dependencies (android.animator.*) which cannot be easily replaced. You have to take one of the given libraries.

提交回复
热议问题