Closed ljf1172361058 closed 7 years ago
考虑到需要对自定义布局中的某些控件设置监听,改变样式之类的,希望官方能够提供该方法
或者可以把源码中的 mLayouts 的修饰符改为public也行
布局在showXX时才会inflate inflate后才可通过findViewById获取对应的View 暴露mLayouts没有必要
目前已添加 setOnEmptyInflateListener,setOnErrorInflateListener 可确保在自定义布局inflate后设置监听/样式
setOnEmptyInflateListener
setOnErrorInflateListener
@czy1121 多谢了.
考虑到需要对自定义布局中的某些控件设置监听,改变样式之类的,希望官方能够提供该方法