When onBindViewHolder is called and how it works?
<p>I am a beginner and I am having trouble with understanding a piece of code. Can someone please explain me when this function evoke and what is it for?</p>

<p>Here is my code :</p>

<pre><code>    public void onBindViewHolder(myViewHolder holder, int position) {

        RecViewHolder currentdata = data.get(position);
        holder.favChecker = currentdata.getFavChecker();
        holder.serialID = currentdata.getSerialID();
        holder.theClassName = currentdata.getTheClassName();
}
</code></pre>