mRecyclerView.setAdapter(mAdapter); //Set the layout manager to remove the ScrollView nested RecyclerView stuck problem LinearLayoutManager linearLayoutManager = new LinearLayoutManager(ZdqHuaTiDetailActivity.this, LinearLayoutManager.VERTICAL, false) { @Override public boolean canScrollVertically() { return false; } }; mRecyclerView.setLayoutManager (linearLayoutManager);
In this way, sliding up and down will not be stuck.