naver / android-pull-to-refresh

Pull To Refresh Views for Android! v3.2.3
Apache License 2.0
310 stars 82 forks source link

Add support to android studio preview #8

Closed lightglitch closed 10 years ago

lightglitch commented 10 years ago

I get this:

The following classes could not be instantiated:
- com.handmark.pulltorefresh.library.PullToRefreshListView (Open Class, Show Exception)
 Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE  Exception Details java.lang.NullPointerException   
 at android.content.res.BridgeResources.getXml(BridgeResources.java:548)   
 at com.handmark.pulltorefresh.configuration.xml.PullToRefreshXmlConfiguration.init(PullToRefreshXmlConfiguration.java:92)   
 at com.handmark.pulltorefresh.library.PullToRefreshBase.init(PullToRefreshBase.java:1358)   
 at com.handmark.pulltorefresh.library.PullToRefreshBase.<init>(PullToRefreshBase.java:201)   
 at com.handmark.pulltorefresh.library.PullToRefreshAdapterViewBase.<init>(PullToRefreshAdapterViewBase.java:84)   
 at com.handmark.pulltorefresh.library.PullToRefreshListView.<init>(PullToRefreshListView.java:50)   
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)   
 at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:755)   
 at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)   
 at android.view.LayoutInflater.rInflate(LayoutInflater.java:727)   
 at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:758)   
 at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)   
 at android.view.LayoutInflater.rInflate(LayoutInflater.java:727)   
 at android.view.LayoutInflater.inflate(LayoutInflater.java:492)  
 at android.view.LayoutInflater.inflate(LayoutInflater.java:373) Copy stack to clipboard 
ncoolz commented 10 years ago

I will check that and find the way to support it.

ncoolz commented 10 years ago

Now the library supports it in 3.2.2 version.