We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
因为class类在kotlin里被视为final类型,我们这边不能再次继承这个类,进行我们自己的修改了,反而NumberPicker就是一个public class的类,我们就能继承。如果想要继承DateTimePicker,我们还要下载源码,导入到项目里,自己加open,这样未免也太不友好了,希望作者可以改一下,kotlin全都加open,这样让我们使用起来容易一点。
The text was updated successfully, but these errors were encountered:
NumberPicker
setSelectedTextColor
setDividerColor
invalidate();
public void setSelectedTextColor(@ColorInt int color) { mSelectedTextColor = color; mSelectedText.setTextColor(mSelectedTextColor); invalidate();//加在这里让View重绘 }
Sorry, something went wrong.
👍非常棒的建议,如果方便可以直接fork然后提pr😊
已处理
No branches or pull requests
因为class类在kotlin里被视为final类型,我们这边不能再次继承这个类,进行我们自己的修改了,反而NumberPicker就是一个public class的类,我们就能继承。如果想要继承DateTimePicker,我们还要下载源码,导入到项目里,自己加open,这样未免也太不友好了,希望作者可以改一下,kotlin全都加open,这样让我们使用起来容易一点。
The text was updated successfully, but these errors were encountered: