Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[WEEX-218][android] support leftGap and rightGap for waterfall compon…
Browse files Browse the repository at this point in the history
…ent, template list orientation support updateAttrs
  • Loading branch information
jianbai.gbj committed Feb 13, 2018
1 parent b442122 commit ff71bab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,7 +87,7 @@ protected BounceRecyclerView generateListView(Context context, int orientation)
bounceRecyclerView.getSwipeLayout().setNestedScrollingEnabled(true);
}
}
if(mRecyclerDom.getSpanOffsets() != null){
if(mRecyclerDom != null && mRecyclerDom.getSpanOffsets() != null){
bounceRecyclerView.getInnerView().addItemDecoration(new GapItemDecoration(this));
}
return bounceRecyclerView;
Expand Down

0 comments on commit ff71bab

Please sign in to comment.