Posts by Diogo Travassos • 146 points
5 posts
-
0
votes1
answer1247
viewsA: Deleting children records with @Manytoone annotation from Spring JPA
It looks like you are trying to delete a record that is related in another table. By the way your relationship is one-way, you should remove the present from the list of reservations that is…
-
1
votes1
answer68
viewsA: how to make tap function in android notification
Missing add the block mBuilder.setAutoCancel(true); To close a notification programmatically, you must know its id and you can cancel it using the method Cancel NotificationManager…
-
3
votes1
answer339
viewsA: Alert Dialog personalized with GIF image
According to the google documentation, you shouldn’t put "anime.start()" inside onCreate(), you should use onWindowFocusChanged that will run when your app is in user focus. According to them: It’s…
-
3
votes1
answer82
viewsA: What library do I use to send notifications?
As you are beginner I advise you to give a look on the firebase, as other colleagues have indicated. I have made an app recently and can tell you that you will need to create an account on firebase…
-
3
votes2
answers176
viewsA: Termination of a Thread
If every message inside the Sqs for a Thread, it will be terminated at the end of the processing, or when you call the method earth-shattering. But if the processing is too long and it opens many…