Android: Google + Button loading never stops

I followed this tutorial to implement the google +1 button.

I have verified what I am getting ConnectionCallbacks.onConnected

from my listener PlusClient

.

This shows me how many people +1 it is, but when I try to click a button it starts loading and never stops.

Any ideas on something wrong?

+3


source to share


2 answers


I found a solution: I put a listener like this on my +1 button:

mPlusOneButton.setOnPlusOneClickListener

      

as stated here: PlusOneButton on Android, how do I know if the user has clicked?



and it created an error ...

Don't use this listener !!!

+1


source


You must first be logged in to use the +1 function safely.



-1


source







All Articles