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
根据mContentView = findViewById(R.id.content_view);去设置内容视图有点不便,用起来还得把内嵌视图最外层命名为content_view,繁琐切容易重复,可以考虑内嵌视图只支持一个子视图,然后mContentView = this.getChildAt(0);去处理
The text was updated successfully, but these errors were encountered:
如果有多个子内容视图,就不能使用 getChildAt(0) 来处理,这两天空了我优化一下
getChildAt(0)
Sorry, something went wrong.
只支持一个子视图应该是比较好的 没用这个多布局项目的直接把布局粘到内部就好了 不用还写id content_view
请参考: MultipleStatusView v1.3
No branches or pull requests
根据mContentView = findViewById(R.id.content_view);去设置内容视图有点不便,用起来还得把内嵌视图最外层命名为content_view,繁琐切容易重复,可以考虑内嵌视图只支持一个子视图,然后mContentView = this.getChildAt(0);去处理
The text was updated successfully, but these errors were encountered: