Peng Chen

Results 12 issues of Peng Chen

like this : public void addHeaderView(View header) { ``` if (header == null) { throw new RuntimeException("header is null"); } header.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT ,ViewGroup.LayoutParams.WRAP_CONTENT)); mHeaderViews.add(header); this.notifyDataSetChanged(); ```

![image](https://user-images.githubusercontent.com/12198830/103280416-52d94b00-4a0b-11eb-8bc2-3d6ae6595d59.png)

![image](https://user-images.githubusercontent.com/12198830/103395057-1d497480-4b67-11eb-8bab-4cb72b790f81.png)

有点向右,向下偏移了,点击删除按钮外,也删除了sticker

![image](https://user-images.githubusercontent.com/12198830/190370845-30b3e3f8-d92e-4272-8eef-6dbea2881284.png)

```kotlin val marginBottom = if (EasyFloat.isShow(relaxMusicFloatTag)) { -dp2px(170f).toInt() } else { -dp2px(80f).toInt() } LogHelper.debug("marginBottom = $marginBottom") easyFloat.setGravity(Gravity.END or Gravity.BOTTOM, 0, marginBottom) easyFloat.setSidePattern(SidePattern.RESULT_HORIZONTAL) easyFloat.setTag(vipDiscountFloatTag) easyFloat.show() ``` marginBottom = -230 就上面的代码,正式点击按钮显示是正常的,跳转到其他Activity去,发送通知给这个Activity显示浮窗,然后就没有偏移量, 好像是当前Activity处于后台就有个这个问题。

支付宝sdk已经更新到`15.8.03`了, 微信sdk更新到`6.7.9`了

startHook失败,直接闪退