Skip to content

Commit

Permalink
* [android] bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miomin committed Jul 15, 2016
1 parent c3aa23b commit fa65aac
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -225,7 +225,6 @@
import com.taobao.weex.ui.component.Scrollable;
import com.taobao.weex.ui.component.WXComponent;
import com.taobao.weex.ui.component.WXEventType;
import com.taobao.weex.ui.component.WXHeader;
import com.taobao.weex.ui.component.WXLoading;
import com.taobao.weex.ui.component.WXRefresh;
import com.taobao.weex.ui.component.WXVContainer;
Expand Down Expand Up @@ -515,7 +514,7 @@ public void checkLastSticky(final int position) {
bounceRecyclerView.clearSticky();
for (int i = 0; i <= position; i++) {
WXComponent component = getChild(i);
if (component.getDomObject() != null && (component.getDomObject().isSticky() && component instanceof WXCell) || component instanceof WXHeader) {
if (component.isSticky() && component instanceof WXCell) {
if (component.getView() == null) {
return;
}
Expand Down

0 comments on commit fa65aac

Please sign in to comment.