Closed lukas1994 closed 8 years ago
I saw that we also don't have an example for the ListView
query adapter. Should we add one or are we deprecating ParseQueryAdapter
?
Do we really want to keep the same API design as ParseQueryAdapter
? I thought it had some issues with the current API design.
Some things that might make this design a bit better like converting void loadObjects()
to Task<Void> loadObjectsInBackground()
I was thinking about keeping the API as similar as possible to the old adapter so that's easy for people to update their apps. Currently, we can't use Task
s (see https://github.com/ParsePlatform/Parse-SDK-Android/issues/6).
We can't use ParseQuery
Task
s APIs, but we can still return Task
s by utilizing TaskCompletionSource
s.
added ParseQueryRecyclerViewAdapter (similar to ParseQueryAdapter) simple example