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
1
vote
2 answers

Parse Android Studio ListView

Well guys, i'm just trying to creat a listView of Objects from a Parse query. So i don't know too much about list views in android but someone can tell me how to implement that? Or do you have an tutorial that can explain what should I do? Thank you…
1
vote
0 answers

Parse search a specific user

I have found this code for searching for a specific user, using Parse. But when i run the code, it crashes. What is wrong with the code??? The following is the link to the codes…
1
vote
1 answer

Strange results with ParseQuery.or()

I have built my app on Parse, and recently added support for finding nearby objects using ParseGeoPoints. I have 2 queries: ParseQuery query = new ParseQuery("Stitch"); query.whereEqualTo("complete",…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
1
vote
1 answer

Android ParseQueryAdapter always empty

I am trying to get data from Parse.com, and followed instrucions and examples on their site, but i run into problem i can't seem to fix. Requested query is always empty. I use following code public void createParseQuery(final int…
1
vote
0 answers

ListFragment's setListShown method not working

I'm using ListFragment with ParseQueryAdapter in order to show list of leagues (custom model). I managed to get my desired state except that the loading animation is not showing at all. It seems like the animation is hidden when the listsAdapter is…
1
vote
1 answer

Grow heap (frag case) on ListView Fragment using custom ParseQueryAdapter on fast scrolling

I am using Parse.com android sdk. Inside my TabsActivity.java, I have a SearchFragment which extends ListFragment in order to populate a ListView with a Custom ParseQueryAdapter. Inside my custom adapter I declare a custom list row layout called…
1
vote
1 answer

Android: Change image of imageview in listview using a parsequery adapter

I have been able to do many things to each specific item in the ListView depending on position. Now, I'm trying to change the image of an ImageView in the ListView but for some reason i can't. Everytime it is clicked, the ImageView that is a few…
0
votes
0 answers

How can I store a list of parse objects from one column into a HashSet?

If I have a String column "A" in a parse class. And I have 5 objects in column "A" with values: 1- A' 2- B' 3- C' 4- D' 5- E' How can I retrieve those objects, and store them in HashSet to be used? So, if I system.out.println the HashSet values,…
Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117
0
votes
2 answers

java.lang.RuntimeException: This query has an outstanding network connection. You have to wait until it's done

I am trying to populate the list view with the address by running query on the nearby locations from point g to the list of address/geopoint in the parse server.: public class Map_Masti extends FragmentActivity { ParseGeoPoint g; private…
0
votes
1 answer

Attempt to invoke virtual method 'void com.parse.ParseImageView.setParseFile(com.parse.ParseFile)' on a null object reference

I KNOW what a NullPointerException is, alright? But, what are the possible mistakes for this line of code: mealImage.setParseFile(campaign.getImage()); to give me aNullPointerException? java.lang.NullPointerException: Attempt to invoke virtual…
0
votes
2 answers

Want to get data out of Parse getCallback in Android

I'm using Parse.com, and to get my wanted information, I use it's Queries. So I use that one: ParseUser PhotoeUser; ParseQuery UserQuery = ParseQuery.getQuery(Photo.class); UserQuery.whereEqualTo("objectId", PhotoID); …
0
votes
1 answer

Android parse query - Complex where clause

I'm having a small issue with a uri parse query. I'm almost there, or at least I think I am, but I just lack the final touch. What I want to do Ideally, I'd like to have the latest message recieved for each contact, in the last 24 hours. What I have…
user5326268
0
votes
1 answer

Make a ListView with Parse data

I tried to add the Parse UI-widget to be able to use the Parse Query Adapter, however it didn't work and I almost messed up my whole app trying. So, my question is if there are any other ways to create a listView with your data from Parse? I mean,…
0
votes
0 answers

ParseQueryAdapter for two classes (nested)

I have two classes "Offers" and "Stores". The Offer class has a pointer field called "storeId" which points back to the "Stores" class. I need to query offers of a specific category, belonging to stores within a 20km radius of my current location.…
0
votes
1 answer

Parse Android query for objects created within month

I wanted to query object within December but it return with Jan-Nov object. This is my query. Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.DAY_OF_MONTH, 1); calendar.set(Calendar.MONTH, 0); Date date =…