-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
在kotlin下使用的一个问题 #359
Comments
public class ConvenientBanner extends RelativeLayout 这个在kotlin中用起来不方便 |
+1 |
你可以自己写一个类继承他ConvenientBanner就行了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以去掉这个地方的范型吗?我看了一下代码,你好像只有在mDatas中使用了。
在kotlin使用中,如果是直接在xml中设置了ConvenientBanner,这个地方是Nothing类型的,在代码中设置setPages的datas时,就无法指定其他的范型类型了。会不太方便。
就只有这样才可以使用的。
The text was updated successfully, but these errors were encountered: