Posts by VulfCompressor • 259 points
11 posts
-
0
votes2
answers1790
viewsA: Error trying to give npm start in React-Native project
The npm start then it will only start the packager react native. To install your application you have to go to the folder of your project in the terminal and run npm run android. This command will…
react-nativeanswered VulfCompressor 259 -
0
votes3
answers4761
viewsA: Restrictions in the React text field
You can use the property onChangeText of TextInput to filter what will be changed in your state local. Using the function replace (string) you can use a regular expression (example: /([^\d\s/-])/g)…
-
4
votes1
answer65
viewsA: Webview changing url according to day
You can concatenate the current day of the year to your URL using the class Calendar. Example: Calendar c = Calendar.getInstance(); String url = "https://paroquiasaoroqueblog.wordpress.com/" +…
androidanswered VulfCompressor 259 -
0
votes1
answer97
viewsA: Structuring the React project
Correct. Both platforms will always first run the files index.ios.js or index.android.js. You can use this to your advantage and make specific customizations for each platform using these files.…
-
1
votes1
answer416
viewsA: How accurate is the geolocation of React Native?
Yes, React Native uses native mobile geolocation. Although the Geolocation API is exposed through polyfills (Navigator.Geolocation), the GPS signal used is the same as the device. This already…
-
0
votes1
answer215
viewsA: React Native Drag and Drop Listview
You will hardly be able to make it work by the simple fact that the layout structure of Android / iOS does not allow such functionality. The moment a View daughter crosses the edges of a View…
-
0
votes2
answers68
viewsA: Doubt of navigation
First, be careful of the way you are organizing your Mports. When importing home inside app and app inside home, you are causing a circular dependency Second, you happen to be exporting something in…
-
1
votes3
answers2056
viewsA: Layout for all screen sizes
Hello. I recommend you take a look at this google article first: Supporting Multiple screen Sizes. I’m sure that after reading all this tutorial (you can even google translate) you will not have any…
-
1
votes2
answers424
viewsA: Greater space between spinner items
You can change the appearance of your spinner by changing the adapter that was used for it with the following command: adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);…
-
3
votes1
answer665
viewsA: Problem using Dialog Prime Faces
From version 4.1 of Primefaces it is necessary that you use the following syntax: PF('widgetVar').show(), where widgetVar is the name of the dialog you want to display.…
-
-1
votes1
answer194
viewsA: Error Parsing data org.json.Jsonexception
I had the same problem with a project of mine. This exception indicates that your HTTP request is returning the text "", and not a JSON Object valid. Check that your PHP script is working…