You can’t take recyclerview inside recyclerview tag.
Rather in your first adapter’s bindViewHolder call again recyclerview adapter like:-
InnerRecyclerviewAdapter adapter=new InnerRecyclerviewAdapter(context,urlistArray);
holder.recyclerView.setAdapter(adapter);
holder.recyclerView.setHasFixedSize(true);
LinearLayoutManager layoutManager = new LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false);
recyclerView.setLayoutManager(layoutManager);
wrap_content
will also work with latest recyclerview
for more info check out this link https://guides.codepath.com/android/Heterogenous-Layouts-inside-RecyclerView