Posts by Avallone • 39 points
6 posts
-
0
votes1
answer50
viewsA: Mostar image if not connected to the internet
One option, would be in your Activity do un check para ver se tem internet(google example) and if not, instead of inserting an image into webView, I would use an Imageview with its connection…
-
-1
votes2
answers161
viewsA: When to use Livedata or when to use Rxjava (or Rxjava2 / Rxkotlin)?
The reason why Voce saw the use of liveData being used together with Viewmodel, is because it is strongly recommended to use a Viewmodel to prepare the data to be displayed in a View, that View…
-
0
votes1
answer21
viewsA: Cannot reolve Symbol "@drawable/", image exists and application runs ok
Rogerio, which version of Android Studio? Canary? what can happen sometimes is your app works because Android Studio has something cached that makes it work or as Voce says it’s all right, just the…
-
0
votes1
answer209
viewsA: Where can I find the Styles.xml file?
You can test creating a new project in Android Studio both in java and Kotlin, inside the res directory by default has a values directory (Voce commented value, I do not know if the missing S may…
-
1
votes1
answer586
viewsA: When to use a Fragment instead of an Activity
It is considered good practice to use Activity in the case of a single stream, for example, say that inside the editing screen of the Voce item put the option of the user to select an icon for that…
-
0
votes3
answers489
viewsA: Http Connection with timeout does not work
The problem is that the timeout method of the httpconetion class has nothing implemented. I’ve had this kind of problem before and what I did was create my own timeout. I would start the line before…