app crashes when spinner is pressed inside popupwindow which is located in fragment
问题 i have a fragment with a button. The button is pressed and if the user credentials entered match a valid user(the input fields ara being checked requests to rest api) a popupwindow is displayed with a spinner, a textview and an editext. in volley onresponse createPopUpWindow method is called onResponse() public void onResponse(String response) { try { JSONObject jsonObject = new JSONObject(response); String success = jsonObject.getString(AppConfig.TAG_ERROR); if (success.equals("true")){