Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //my layout
- <br.com.llamaze.resolutions.utils.EmptyRecyclerView
- android:id="@+id/list_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"/>
- //how I set
- View emptyView
- emptyView = getLayoutInflater().inflate(R.layout.row_empty, mRecyclerView, false);
- mRecyclerView.setEmptyView(emptyView);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement