While researching on the RecyclerView.Adapter class I came across this line of code:
public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder>
I am aware of the underlying concept of Adapters and ViewHolders.But I am curious related to the Syntax "MyAdapter.ViewHolder".Is this kind of syntax used in java as well? I am just trying to understand why this piece lies in the Class Declaration? Thanks in advance