Chapter 1 Complete With Compile Error


#1

Just completed chapter one, went through all the steps and doubled checked code and looked into errors it was throwing but still stuck.

errors being returned

-build failed with 1 error
-java compiler 1 error
-error: incompatible types: cannot be converted to OnContextClickListener


#2

mTrueButton.setOnContextClickListener() --> mTrueButton.setOnClickListener()


#3

Thank you!!! That did it!