Skip to content
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

requestLayout() improperly called by com.genuine.cloud.core.ui.view.IndicatorTitleView #266

Open
LvKang-insist opened this issue Jun 27, 2021 · 1 comment

Comments

@LvKang-insist
Copy link

W/View: requestLayout() improperly called by com.genuine.cloud.core.ui.view.IndicatorTitleView{9311d80 VFED..C.. ......ID 150,0-346,141} during layout: running second layout pass

第一次打开页面就会有这个 log,

@LvKang-insist
Copy link
Author

已解决:
override fun onSelected(index: Int, totalCount: Int) {
setTypeface(Typeface.DEFAULT, Typeface.BOLD)
}
override fun onDeselected(index: Int, totalCount: Int) {
typeface = Typeface.DEFAULT
}

是由于设置了字体类型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant