Toggle MidColor error
I set my colors as following : midColor = #878787 offColor = #1ABC9C onColor = #F98162
For on State and off State it's working really good, but when I call toggleMid() it shows something like below

It's a great library anyway
Having the same issue.
I was finally able to figure out why this issue occurs. onToggle I was immediately updating my list again which redrew the switch mid-animation so the switch couldn't finish colouring the animation. I fixed this by using a Handler like this:
//This fixes the animation of the switch
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
//Do your switch stuff
notifyDataSetChanged();
}
}, 500);
I've found that 500ms is the optimal time, any less and you'll still mess up the animation. Setting the animation to off doesn't help either. One issue with this fix is that if the switch is toggled really fast, there'll be a slight delay in processing the input.