Posts by Paulo Castelo • 71 points
5 posts
-
1
votes3
answers45
viewsA: Ciclo Activity android
I created a Global variable that returns a boolean, every time Activity executes the method onRestart() execute a if checking the status of the variable if it is true runs the method again finish()…
-
1
votes3
answers45
viewsQ: Ciclo Activity android
My app has 4 Activitys. When I get to the Activity number 4 user has option to return to Activity number 2 that this in onStop(). The problem is that when I go back to Activity number 2 she runs…
-
1
votes0
answers39
viewsQ: Thread inside an Adapter (music player list)
Have Recyclerview that has a list of audios, each line has an audio. When I run, I need seekbar to start the progress that refers to the specific line. For that I understand that I need a thread to…
-
1
votes1
answer126
viewsQ: put Thread.Leep in the Retrofit Call method without locking the Thread UI (main)
Good from what I understand the method call.enqueue(new Callback<Void>() { initiates a thread to communicate with webservice. So I thought I’d slow down the method by putting one…
-
2
votes1
answer49
viewsQ: How to avoid Inserts Simultaneos
In a sales system I realize a INSERT registering the cover of the order (order without the items) soon after the cover registration SELECT MAX to return the last id inserted to use this id as…