Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/swipe_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <ListView
- android:id="@+id/listViewConversation"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:dividerHeight="1dp" />
- </android.support.v4.widget.SwipeRefreshLayout>
- @Override
- public void setVisibility(int visibility) {
- if (visibility == View.GONE && getCount() == 0) {
- return;
- }
- super.setVisibility(visibility);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement