app:wave_show="false"
1.3.0 app:wave_show="false" 这一个设置了没有效果?不管理是false还是true都会出现波浪形状的背景。
有没有方法能判断页面正在Loading中?就是Loading还没有结束
复制我在另一个issue中的回答: 项目很好,但是确实有些bug,但是读了源码后,发现样式的设置可以用比较“hack”的方式来实现,比如 materialRefreshLayout.setWaveShow(false);这句话是没有任何作用的。 源码中有materialHeadView.setWaveColor(isShowWave ? waveColor : Color.WHITE);分析这个bug后,发现如果你要隐藏wave的话,可以设置wave为显示但是设置颜色为纯透明就好了
看了源码以后我是让wave显示,但是颜色设置成透明的就可以了
I'm also having this problem. Neither of these have effect:
app:wave_show = "false"
materialRefreshLayout.setWaveShow(false);
I tried setting transparent color (white color with 0% opacity):
app:wave_color="#00ffffff"
It worked initially.. but recently it's not also working. It is showing pure white. Otherwise it works nicely :+1:
@nicknabdullah
just try
app:overlay="true" app:wave_color="@android:color/transparent" app:wave_show="true"
hi @xudshen Thanks for the tip.. it worked! There was initially problem because in code I had set 'setWaveShow(false)'.