Android: Unable to resolve method convertPageResults

Solved!
Posted in General by Kevin Miller Thu Mar 10 2016 18:57:46 GMT+0000 (UTC)·1·Viewed 2,051 times

Several examples, such as the Search Checkins use the result.convertPageResults(Checkin.class) method but it cannot be resolved. Is there a missing import or another method? See https://docs.buddy.com/docs/search-checkins Kevin
Bradley Serbus
Mar 10, 2016

Hi Kevin,

I updated the documentation to be more clear about the needed imports for the Android SDK. Check out the 'Referencing the SDK' section of the Android SDK docs at http://docs.buddy.com/docs/android-sdk#section-referencing-the-sdk.

Secondly, I updated the code samples to match the latest SDK. they were slightly behind. The code you reference above should be: result.getResult().convertPageResults(Checkin.class).

If are still having issues, please contact me at [email protected]

Thanks,
Brad


Bradley Serbus marked this as solved
Markdown is allowed