magiepooh/RecyclerItemDecoration

Horizontal mode, divider miss (Maybe bug)

Closed this issue · 1 comments

Horizontal RecyclerView in RecyclerView

// This All right
RecyclerView.ItemDecoration decoration = ItemDecorations.horizontal(getContext())
                .first(R.drawable.divider_trans_vertical_4dp)
                .type(PhotoViewHolder.LAYOUT_ID, R.drawable.divider_trans_vertical_4dp)
                .last(R.drawable.divider_trans_vertical_4dp)
                .create();

// Some time some divider are missing, I don't known why.
RecyclerView.ItemDecoration decoration = ItemDecorations.horizontal(getContext())
                .type(PhotoViewHolder.LAYOUT_ID, R.drawable.divider_trans_vertical_4dp)
                .create();

Thank you for letting me know!