setAdapter

public void setAdapter(Adapter adapter)

Sets the adapter for the RecyclerView.

Parameters

adapter

the adapter to set