I want to change JSON file from assets folder as per language change in my application and want to feel data in RecyclerView
.
But my adapter do not apply that changes.
Make sure that you have to set adapter again after selecting another locale file. If you are using RecyclerView, then set LayoutManager to your recycler view like this:
RecyclerView yourRecyclerView= (RecyclerView) findViewById(R.id.yourRecyclerView);
LinearLayoutManager layoutManager = new LinearLayoutManager(MainActivity.this, LinearLayoutManager.VERTICAL, false);
rc_qList.setHasFixedSize(true);
rc_qList.setLayoutManager(layoutManager);
RecyclerViewAdapter yourAdapter = new RecyclerViewAdapter (MainActivity.this, yourArrayList);
rc_qList.setAdapter(yourAdapter);