Flip-Flopper

What does the idiom “Flip-Flopper” mean?

Definition:

Someone who changes opinions often

For example:

“The politician was well known as a flip-flopper—she often said what she thought people wanted to hear.”