@Override void getLaneForPosition(LaneInfo outInfo, int position, Direction direction) { final SpannableItemEntry entry = (SpannableItemEntry) getItemEntryForPosition(position); if (entry != null) { outInfo.set(entry.startLane, entry.anchorLane); return; } outInfo.setUndefined(); }
@Override void getLaneForChild(LaneInfo outInfo, View child, Direction direction) { super.getLaneForChild(outInfo, child, direction); if (outInfo.isUndefined()) { getLanes().findLane(outInfo, getLaneSpanForChild(child), direction); } }