sensorsdata/sa-sdk-android

TabLayout自定义Tab情况下,全埋点事件有bug

Closed this issue · 2 comments

AppClickTrackImpl.trackTabLayoutSelected()方法中:

View tabCustomView = ReflectUtil.findField(currentTabClass, tab, "getCustomView");

这里应该改成:

View tabCustomView = ReflectUtil.findField(currentTabClass, tab, new String[]{"mCustomView", "customView"});

@qq549631030 收到,会在近期版本中进行修复。

@qq549631030 6.6.7 版本中已修复