Posts by inosivel • 69 points
5 posts
-
-1
votes1
answer48
viewsQ: getWindow() command is not recognized
Someone help me for love of desu, to using SDK 29 so the problem is not that at least...…
-
-1
votes1
answer72
viewsQ: Android Studio does not recognize some commands
Does anyone know how to fix it? Out of nowhere these two commands stopped working Note: When I run the application there is no error, but it still shows that there are errors in the code for some…
-
2
votes4
answers422
viewsA: What is the best way to convert an int array to String in Java?
I think the best way in both legibility and efficiency is to use StringBuilder even, thanks for the help there people. int[] array = {1, 2, 3, 4, 5}; StringBuilder sb = new StringBuilder(); for (int…
-
3
votes4
answers422
viewsQ: What is the best way to convert an int array to String in Java?
What is the best method to convert {1, 2, 3, 4, 5} for "12345" ? Example: int[] array = {1, 2, 3, 4, 5}; array.toString(); // Existe alguma função que faça isso? I know you can do it with a for loop…
-
0
votes1
answer51
viewsQ: I cannot capture regex from the end of the string with the Java replace method
I tried that code but the $ is not understood as the end of the string, but rather as a character to be captured, I did something wrong or it’s a bug? String s = "gabriel";…