Reputation: 73
I'm following this guide: https://developer.android.com/training/articles/wear-location-detection.html, and got up to the part "Request Location Updates." I created the class that they gave, and took care of all but one error.
This is where my error is. It is associated with performing setResultCallback().
The caption reads: Class 'Anonymous class derived from ResultCallback' must either be declared abstract or implement abstract method 'onResult(R)' in 'ResultCallback.'
I'm wondering why I get it. Maybe I'm missing something?
Upvotes: 0
Views: 232
Reputation: 42208
The example is missing :
.setResultCallback(new ResultCallback<Status>() {
Upvotes: 1