Posts by O_Vagner • 124 points
11 posts
-
0
votes1
answer481
viewsA: How to keep the App always logged in with Firebase
According to the documentation Manage users in Firebase, the recommended way to identify the connected user is to call the method getCurrentUser(). If no user is logged in, getCurrentUser() returns…
-
1
votes1
answer51
viewsA: Advanced Android Design Layout
Inside the archive AndroidManifest.xml add the tag android:windowSoftInputMode="adjustPan" as an attribute in Activity that has the BottomNavigationView. Example: <manifest> ...…
-
2
votes3
answers529
viewsA: Turn Jsonobject into Jsonarray
From what I understand, you already have this JSON and want to 'transform' it from JSONObject for JSONArray. Following, can be done as follows. JSONObject json; // <- O seu JSONObject JSONArray…
-
1
votes1
answer219
viewsQ: Insertion of float value into a Jsonobject
I have the following situation, I have an object called Item, with a value variable in it. At the time I enter the value in the json object it changes from 1 or 2 boxes after the comma to 15 boxes…
-
0
votes1
answer529
viewsQ: Edittext with a maximum of one line
I see that to write in only one line on EditText needs to be with android:maxLines="1" and android:inputType="text", but I wonder if there’s any way to do this with android:inputType="number",…
-
1
votes2
answers245
viewsA: Cannot Resolve Method isChecked()
First you need to instantiate the RadioButton, not only the RadioGroup. A solution with a RadioGroup with three RadioButton. RadioGroup group = (RadioGroup) view.findViewById(R.id.radio); final…
-
0
votes1
answer2571
viewsQ: Popular dynamic select with javascript
I have two select, and I want the second select only to show the data depending on the selection of the first. What I lack is 'popular' the second select, because I already have the necessary data…
-
1
votes2
answers484
viewsQ: Global variables do not update in the view with Angularjs
I am creating a test application with Angularjs using the ngRoute route system, the controllers created are working, however, the global variables in them are not being updated in the view. The…
-
0
votes1
answer516
viewsA: Android Studio 2.0 Render Error
After hours trying, I created a new project in Android Studio to copy the project files to a new project (my last hope). Created the render project came back to work normally. It’s probably some…
-
3
votes1
answer516
viewsQ: Android Studio 2.0 Render Error
Every time I open a layout file no preview appears and an error appears in the event log. It is not a specific layout, are all layouts. Has a question the same as in the English version, but it…
-
1
votes1
answer1094
viewsQ: Route configuration error in Nodejs with Express
I’m having a problem starting Nodejs, similar to this other post at this link, but had no more feedback from those who asked and the solution presented in the reply did not suit me either. The…