Posts by Bob • 51 points
5 posts
-
0
votes0
answers37
viewsQ: How to add items from a JSON to a database?
Explaining: I have the following classes to work on, one that is the arrival and return of JSON and others, entities data, follows below: User experiment result: public class…
-
0
votes1
answer27
viewsA: Select me returns null, in the second iteration of the FOR loop, on
In the second iteration onwards, the items came with a space at the beginning or end, causing the problem. Solved with a simple .trim(); predCid.get(i).getTextPredicted().trim()…
-
0
votes1
answer27
viewsQ: Select me returns null, in the second iteration of the FOR loop, on
I have a database, ROOM, I make a select right after the return of a asyncTask. I take the U-turn and make a select, awaiting the return of this select. Works normally in the first iteration of for,…
-
1
votes1
answer159
viewsQ: Facebook SDK 4+ Logout Button. Error climbing Activity
When trying to implement the facebook logout, in another activity, other than the one who logs in, I see the following message: Error Mainactivity}: java.lang.Nullpointerexception: Attempt to invoke…
-
4
votes2
answers2872
viewsQ: Click on button effect
I wonder if it is possible, in a Button, to have that click effect, that is, it "sink" and "return to normal". Is that a property or should I use an Imagebutton with the images of this "effect"?…