Lately I've been using data bindings and I came across the executePendingBindings method.
The documentation doesn't say much about it, so I don't understand how it works or when to use it. Here is an example of the method's usage.
Please give an example that demonstrates the difference of using it and not. Thank you
@Override
public void onBindViewHolder(final RecyclerView.ViewHolder holder, int position) {
Customer customer= List.get(position).second;
((CustomerViewHolder)holder).binding.setCustomer (customer)
((CustomerViewHolder)holder).binding.executePendingBindings();
}

