Answer validation

I’m getting problem in answer validation. for every question i am getting toast of Correct! if I press true and Incorrect! if i press false.
Not getting what exactly is the problem.
please help.
thanks in advance!

What does your code look like? Have you checked out your checkAnswer method to see how it determines what is a correct answer?