Questions tagged [android-parsequeryadapter]

ParseQueryAdapter handles fetching objects stored in Parse and displaying them as views. It implements the Adapter, ListAdapter and SpinnerAdapter interfaces, so you can use a ParseQueryAdapter to populate any view that uses those interfaces.

ParseQueryAdapter handles fetching objects stored in Parse and displaying them as views. It implements the Adapter, ListAdapter and SpinnerAdapter interfaces, so you can use a ParseQueryAdapter to populate any view that uses those interfaces.

Useful links

48 questions
3
votes
2 answers

Spinner Error "Spinner adapter view type count must be 1"

I am using Parse.com in my application when I use ParseQueryAdapter in fragment to retrieve data and pass to a spinner an error as java.lang.IllegalArgumentException: Spinner adapter view type count must be 1 and application stops. However if I try…
2
votes
1 answer

How to implement infinite scroll with RecyclerView in Android using Parse

Most of the articles I found online used setLimit function to load more items. But it is not an efficient way as we would be recalling the existing objects. I'm using a RecyclerView with a custom adapter to load my list items. Once I receive the…
2
votes
0 answers

ParseQueryAdapter versus RecyclerView.adapter

I have a card view layout. I created it using RecyclerView.Adapter and CardView layout. I am using Parse for my backend. Data in cards get populated from query to Parse. What are the pros and cons of using ParseQueryAdapter instead of going for…
2
votes
2 answers

Android Parse.com Chat with parseQueryAdapter does not refresh

I'm trying to add a chat feature in my Android app using Parse.com. I'm using a custom parseQueryAdapter. Problem is that when I send a message or when I receive a new message, my adapter does not update. I tried to add…
1
vote
2 answers

Retrieving values stored in array in Parse and displaying them in the listView

So I'm trying to retrieve the values stored in the PrescriptionArray column in Parse, which is an Array. I then want to display these values in the ListView lvPrescriptions. Any help would be greatly appreciated!! ParseQuery query =…
1
vote
2 answers

com.parse.ParseRequest$ParseRequestException: bad json response

I want to make a search to a row in the database. I put this query in my code ParseQuery query_names = ParseQuery.getQuery("PhoneBook"); query_names.include("Numbers"); query_names.whereStartsWith("Name",…
1
vote
1 answer

Storing ParseQueryAdapter into String[]{}

Let's say I have a ParseQueryAdapter, getting titles. I want to store those titles into String[] blah = {}. How can I do that? Why am I doing this? Because let's say I have a listView, and in that list view I have multiple stuff such as a picture,…
1
vote
1 answer

Error:Execution failed for task ':app:dexDebug' when importing ParseUI-widget and Login as modules

I'm new to Parse and I have some problem with the ParseUI-Login and ParseUI-Widget. After importing ParseLoginUI as a module in my project, I clicked run app button, and the error happened. I have the exact same problem as Han (Error:Execution…
1
vote
1 answer

RecyclerView with Clickable button

So I'm using recyclerview adapter that takes it's data from ParseQuery Adapter. anyway, the problem now is , That in each item or row I have a button. like vote up button. Every time I click on one button, it automatically click up randomly on…
1
vote
0 answers

Android Parse.com file: Save File to SDCard

I want call one file to parse, after I save the file to the SDCard. I'm sorry, my English is not good. Can you help me? Save file in external storage from Parse.com. This is my code: // Capture button clicks btnUpload.setOnClickListener(new…
Nhu Van
  • 111
  • 8
1
vote
1 answer

ParseQueryAdapter for Android doesn't call its onLoaded method

I'm trying to customize a ParseQueryAdapter and implement caching. I try to cache results in the onLoaded method of the adapter, but the problem is, neither onLoading nor onLoaded gets called at all as seen in the Logcat. When trying to implement…
jahed
  • 171
  • 12
1
vote
1 answer

Android Spinner Adapters and Lollipop

Like many others, I'm using Parse.com in my android application. When I use a ParseQueryAdapter in a fragment to retrieve data and pass it to a spinner a java.lang.IllegalArgumentException: Spinner adapter view type count must be 1 and the…
1
vote
1 answer

Set onTouchListener for evey item in ParseQueryAdapter

I have a HorizontalScrollView as an item of ListView. There is clickable image in each HorizontalScrollView. Also Horizontal scroll view should have specific behavior of scrolling. I have already implemented it for single HorizontalScrollView. But…
1
vote
0 answers

Android Parse.com ParseQueryAdapter restore pagination state

I'm once more struggling with ParseQueryAdapter when pagination is enabled. I have a ListView with a ParseQueryAdapter, displaying me the correct list. But as I do not know how many elements this list would count, I enable pagination in the adapter…
1
vote
2 answers

How should I do? ParseQueryAdapter

I want to make SNS android application. Posts that users have posted and relations("Likes") are loaded from my Parse.com server. I succeeded in loading posts using parseQueryAdapter and ListView in a Fragment. But relation ("Likes") query loading…
1
2 3 4