NullPointerException addToRequestQueue(com.android.volley.Request, java.lang.String)' on a null object reference

后端 未结 7 1607
你的背包
你的背包 2020-12-09 08:32

I\'m using AndroidHive register login and it\'s working fine in example project of this login-register.

But after many attempts trying it with CardViews

7条回答
  •  既然无缘
    2020-12-09 09:18

    try this inside onCreate()

    requestQueue=Volley.newRequestQueue(getApplicationContext());
    

提交回复
热议问题