Using bind Method Inside ViewHolder on Just use onBindViewHolder Directly?

I have always use onBindViewHolder directly to set my data models to the ui of the RecyclerView item. But, I also see many devs love to use bind method inside the ViewHolder. What is actually the pros of using bind method inside ViewHolder?

This topic was automatically closed after 166 days. New replies are no longer allowed.