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
0
votes
0 answers

Can't understand which class I should set as arguement in the constructor of ParseQueryAdapter class

I am new to android and Parse.com .I am following this link. I am trying to get rid of an exception which is, java.lang.IllegalArgumentException: Spinner adapter view type count must be 1. so I am extending the my adapter class to…
0
votes
1 answer

How do I make my ParseQueryAdapter items selectable?

Can anyone tell me how to make text items selectable ? Here is my current adapter code: final ParseQueryAdapter adapter = new ParseQueryAdapter(this, "Prem"); adapter.setTextKey("des"); ListView listView = (ListView)…
0
votes
1 answer

Set background of ListView item based on percentage

I have a list of [testNames, testScores] that I want displayed in a listView. I want the backgrounds of the listView items to be covered by their respective testScore % in green. For example, If I have 3 tests with scores 40, 70 and 100, then I want…
0
votes
1 answer

Querying local datastore in using ParseQueryAdapter gives 0 results even after successfully pinning

Background: I am working on a group messaging app for Android using parse.com as my backend. Working: I Have a ParseQueryAdapter which queries for ChatGroups from the local datastore using: public ChatGroupAdapter(final Context context) { …
0
votes
1 answer

ListView changes and removes views on scroll

I'm using ParseQueryAdapter to load data into my listview. I'm using listview for some kind of chat. But when I scroll the ListView it completely messes up the layout. Here is the screenshot how the chat look from the very beginning, just after…
0
votes
1 answer

ParseQueryAdapter key match empty Android

I have three parse subclasses: Recipe, Ingredient, and RecipeIngredient. RecipeIngredient has a pointer to a Recipe, and a pointer to an Ingredient. When I am trying to create a QueryFactory to get all the ingredients for a recipe. I am trying to do…
Jennifer S
  • 1,419
  • 1
  • 24
  • 43
0
votes
1 answer

ParseQueryAdapter with Subclasses, android Why can't I get my data back from Parse?

I am using Parse.com to build an Android app, and I am having the hardest time figuring out what is not working. Why am I not seeing my list of Category names? I am not getting any errors, but I am not seeing my data when my activity runs. I have…
Jennifer S
  • 1,419
  • 1
  • 24
  • 43
0
votes
2 answers

Parse geo query is always empty

I'm working on an Android app that, among other features, detects places in the user's proximity. For this, I use a Parse Query based on the example from the Anywall app. The problem is that the result of this query is always empty, even though my…
Narcis
  • 196
  • 4
  • 14
0
votes
1 answer

ParseQueryAdapter displaying blank list

So I've followed this tutorial on creating a custom ParseQueryAdapter but for some reason my listview is not being populated. Listview Activity @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
0
votes
1 answer

Android ParseQueryAdapter Fatal error

Has anybody seen this fatal error when using ParseQueryAdapter for Android ListView. I can't give any details because it just crashes my app. I can't put a breakpoint because the error is in parse itself. Any help on how I can figure out this…
0
votes
1 answer

How do I create a ParseQuery for an array of items?

I have a Game class which contains an Array of ParseUsers with the key "players": @ParseClassName(Game.GAME) public class Game extends ParseObject { public static final String PLAYERS = "players"; public void addPlayer(ParseUser player) { …
0
votes
0 answers

Android ParseImageView doesnt display same images

On my android application I got picture via camera intent and save it to Parse.com and display it in the another activity with ParseImageView. The problem I faced is when I try code in emulator it works fine however on Samsung Galaxy S4 KitKat 4.4.2…
Afbyk
  • 101
  • 2
  • 7
0
votes
0 answers

Adding subitem in listview using parse.com through parse query

i have displayed the data in listview from parse, the data that should be displayed is the username as item and bloodgroup of that user as the subitem. my app is displaying the item but i just don't know how to display the subitem. feild names from…
0
votes
2 answers

Android Change background from inside listview adapter

I am trying to change the border around the listview item, unfortunately I am getting null reference errors when I try and reference the layout to change the border. layout.setBackgroundResource(R.drawable.border_purchased); causes the null…
0
votes
1 answer

Parse.com Relational Query - Narrowing Down Results Issue

I have a ParseQueryAdapter that will correctly display all posts if I allow it, but I'm trying to find a way to only display posts from friends. The relative bit of code is as follows: public CustomAdapter(Context context) { // Use the…