You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException
at cn.iwgang.familiarrecyclerview.FamiliarRecyclerView.setAdapter(FamiliarRecyclerView.java:213)
at com.liuliuyxq.android.activities.FansOrAttentionActivity$1.success(FansOrAttentionActivity.java:138)
at com.liuliuyxq.android.activities.FansOrAttentionActivity$1.success(FansOrAttentionActivity.java:115)
at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered:
LarryLGHao
changed the title
setEmptyView(mEmptyView, true)之后,setAdapter(adapter)就会空指针
setEmptyView(mEmptyView, true)之后,setAdapter(adapter)就会空指针,如果不传true,则不抱错,但是空数据的时候不显示mEmptyView
Mar 23, 2016
java.lang.NullPointerException
at cn.iwgang.familiarrecyclerview.FamiliarRecyclerView.setAdapter(FamiliarRecyclerView.java:213)
at com.liuliuyxq.android.activities.FansOrAttentionActivity$1.success(FansOrAttentionActivity.java:138)
at com.liuliuyxq.android.activities.FansOrAttentionActivity$1.success(FansOrAttentionActivity.java:115)
at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: