Yalantis / Taurus

A little more fun for the pull-to-refresh interaction.
https://yalantis.com/
Apache License 2.0
1.67k stars 383 forks source link

InflateException: Binary XML file line #11: Error inflating class com.yalantis.taurus.PullToRefreshView #8

Open JiangShuLiang opened 7 years ago

JiangShuLiang commented 7 years ago

InflateException: Binary XML file line #11: Error inflating class com.yalantis.taurus.PullToRefreshView

Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class com.yalantis.taurus.PullToRefreshView

do you know why does this exception happens? thanks in advance.

JiangShuLiang commented 7 years ago

this is my xml file:

<com.yalantis.taurus.PullToRefreshView
    android:id="@+id/pull_to_refresh"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

<ListView
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

</com.yalantis.taurus.PullToRefreshView>

I think it's totally ok,but why did the exception happens?

warko-san commented 7 years ago

Hi there! Please check the updated version of project. Maybe this issue is gone. I've just tested it on my device - everything works fine.