Posts by martins_ • 101 points
6 posts
-
0
votes1
answer327
viewsA: Using Select android studio
I took a look at your code and realized that in class Read(), when you do the re-turn list;, you are returning the newly created empty list and are not assigning the result of query to her.…
-
2
votes1
answer596
viewsA: Android - Recyclerview with white spaces between items
@Nakamoto, I took a look at your code. I managed to settle putting all Cardview inside a parent exhibition Linearlayout. I believe that because it is a Widget, this should be inserted within a…
-
2
votes2
answers305
viewsA: Save data to an Activity when changing Activity
As the official documentation itself says, Activity is destroyed and recreated each time the user rotates the screen. See here: How to recreate an activity Using the onSaveInstanceState we can save…
-
1
votes2
answers92
viewsQ: Keep the item focus Bottomnavigationview clicked after rotate screen
I have a problem when I rotate the screen. I have the following structure: A Homeactivity that handles clicks on Bottomnavigationview (there are 4 items) Each Bottomnavigationview item loads a…
-
2
votes1
answer489
viewsQ: How can I browse this JSON and recover the Movies list?
I am having difficulty going through this JSON and extracting the data from the "Movies Array". Follows JSON: (https://yts.ag/api/v2/list_movies.json) The mistake is this:…
-
0
votes1
answer215
viewsQ: How can I "keep" data from an Activity when rotating the screen?
I have an Activity that makes an HTTP request using Asynctask, the result of this request is sent to a method that updates my UI. But when I rotate the screen, the data populated in Textviews is…