Home > Mobile >  XRefreshView and viewpager events
XRefreshView and viewpager events

Time:10-06

I use the refresh framework is XRefreshView but recently discovered a problem, XRefreshView when nested viewpager around viewpager then trigger XRefreshView refresh event, when this treatment, anyone who teach it,

CodePudding user response:

MXRefreshView. SetCustomHeaderView (new HeaderView (getActivity ()));
MXRefreshView. SetCustomFooterView (new FooterView (getActivity ()));
MXRefreshView. SetPullRefreshEnable (true);
MXRefreshView. SetPullLoadEnable (true);
MXRefreshView. SetAutoLoadMore (true);
MXRefreshView. SetMoveForHorizontal (true);//transverse sliding not intercept events
  • Related