Posts by Edi • 97 points
9 posts
-
0
votes1
answer146
viewsQ: Error while performing Basic Auth authentication in REST API on android
I’m having a hard time integrating with an API using basic auth authentication. I created a Java API using spring boot and spring security. When I use Postman the request works without any problem,…
-
3
votes1
answer94
viewsQ: Is it possible to improve that part of the code?
I need to improve a part of the code. My problem is it’s too repetitive if and else, the bad news is that I will have more repetitive things on account that are different games. I can improve this…
-
0
votes1
answer559
viewsQ: Change background when clicking and then return the original color
I’m having a hard time at the moment when I select several Textview, I can change the color normally and return when the id is the same as the one selected. My problem is this: When I change the…
-
2
votes2
answers82
viewsQ: code decrease
Is there any other way to accomplish this code? This code is very repetitive, I wanted to know if it is possible to decrease and make easier the understanding. if (games.getBallId() ==…
-
1
votes1
answer33
viewsQ: Save values and make a comparison
I’m having a hard time making a comparison logic or something better that you can point out to me. I’m developing an app that contains several buttons in mega sena game format. I need to make sure…
-
2
votes2
answers412
viewsQ: Reuse code on multi-button onClick
I’m developing an app where it will contain several buttons. I need your help to see if I can improve the code. Actions do the same thing just change the background color and pass me the button…
-
0
votes1
answer74
views -
1
votes1
answer680
viewsQ: Place profile photo in Nav_header
I have a question in creating an App. I need to put the user profile photo in my Nav_header_tela_princial. I already have a profile screen, but I need to use the same image of the user profile…
-
0
votes0
answers165
viewsQ: Add data to Firebase
I need help later because I’m having difficulty inserting new data in firebase. I am developing an application for my TCC where it is possible to register and as soon as I can log in have an option…