Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <layout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:bind="http://schemas.android.com/apk/res-auto">
- <data class="ProfileBinding">
- <import
- alias="V"
- type="android.view.View" />
- <variable
- name="vm"
- type="com.elegion.test.behancer.ui.profile.ProfileViewModel"/>
- </data>
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/refresher"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- bind:onRefresh="@{vm.onRefreshListener}"
- bind:refreshState="@{vm.isLoading}">
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <include
- layout="@layout/v_profile"
- android:visibility="visible" />
- <include
- layout="@layout/v_error"
- android:visibility="gone" />
- </LinearLayout>
- </android.support.v4.widget.SwipeRefreshLayout>
- </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement