[Solved] No response from jsonArray request [closed]
1. Initialize your adapter and set it to RecyclerView from onCreate() method. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //Initializing Views recyclerView = (RecyclerView) findViewById(R.id.recyclerView); recyclerView.setHasFixedSize(true); layoutManager = new LinearLayoutManager(this); recyclerView.setLayoutManager(layoutManager); listcollege = new ArrayList<>(); adapter = new CardAdapter(this, listcollege); recyclerView.setAdapter(adapter); getData(); } 2. Instead of JsonArrayRequest, try using JsonObjectRequest: //Creating a json object … Read more