Closed Sumit-Chakole closed 6 years ago
app:refreshHeaderLayout="@layout/layout_irecyclerview_refresh_header"
layout_irecyclerview_refresh_header
layout root view must implement com.aspsine.irecyclerview.RefreshTrigger
interface. Or you will get ClassCastException: Refresh header view must be an implement of RefreshTrigger
Exception.
May you please show demo layout_irecyclerview_refresh_header xml file please
<?xml version="1.0" encoding="utf-8"?>
<com.aspsine.irecyclerview.demo.ui.widget.header.ClassicRefreshHeaderView.java xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="120dp" />
If default Loadmorefooter and Refreshheader are available I am fine with it.