示例#1
0
 /**
  * Check last Sticky after scrollTo
  *
  * @param position scroll to position
  */
 public void checkLastSticky(final int position) {
   bounceRecyclerView.clearSticky();
   for (int i = 0; i <= position; i++) {
     WXComponent component = getChild(i);
     if (component.isSticky() && component instanceof WXCell) {
       if (component.getHostView() == null) {
         return;
       }
       bounceRecyclerView.notifyStickyShow((WXCell) component);
     }
   }
 }