Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. //my layout
  2.  
  3. <br.com.llamaze.resolutions.utils.EmptyRecyclerView
  4.         android:id="@+id/list_recyclerview"
  5.         android:layout_width="match_parent"
  6.         android:layout_height="wrap_content"
  7.         android:layout_marginBottom="8dp"/>
  8.  
  9. //how I set
  10. View emptyView
  11. emptyView = getLayoutInflater().inflate(R.layout.row_empty, mRecyclerView, false);
  12. mRecyclerView.setEmptyView(emptyView);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement