Questions tagged as 'react-native'

0
answers

React Native set background color by ID

What I want is that all the cards that come out I want to change the background color, but when I press another card the color of the other one is removed. constructor(props){ super(props); this.state={ presente:'#fff', ausente:'',...
asked by 15.06.2018 / 23:03
0
answers

How to implement the React-native-Calendars component

I would like to know how to fill the react-native-calendar component, take example example / src / screens / agenda.js click here When trying to fill my agenda with the Json of my web service, which is in this way datos: [ { e...
asked by 31.05.2018 / 16:33
0
answers

Error Failed to execute aapt, when compiling project in React-Native

I have this error since Monday, no modifications have been made since last week. And on Monday I started giving problems. Glade: 2.14.1 React-Native: 0.49.3 compileSdkVersion 25 targetSdkVersion 22
asked by 01.06.2018 / 17:18
0
answers

Error React-Native

I'm building an app with react-native and I get the following error: This is the file where I get that error: This is all the code of my file with error: import React, {Component} from 'react'; import {     Container,     Conten...
asked by 30.05.2018 / 21:08
0
answers

React-native library react-native-google-places-autocomplete. How to get the text from the search bar?

React-native library react-native-google-places-autocomplete. C Hello good afternoon everyone I have a problem with the library react-native-google-places-autocomplete Link or rather doubt. My question would be like putting an onCha...
asked by 28.05.2018 / 20:16
0
answers

Problems in React-Native

The error happens when I want to implement some images. I have the images inside a folder, I have changed places on repeated occasions.     
asked by 23.05.2018 / 19:38
0
answers

Segment Controller with Table using api rest

I am using segment controller for different options ie consult my api and return data, from that data I need to obtain a specific serial of each data to consult in other web services and return other data to populate a table. import React, {Co...
asked by 15.05.2018 / 20:06
0
answers

React-native View quantity of comments in real time

I am working on an apk in react-native however I can not make it show the amount of comments that are stored in firebase. Here I leave my code: import React, { Component } from 'react'; import { Platform, StyleSheet, Text, View, I...
asked by 10.05.2018 / 04:00
0
answers

React-Native TypeError is not a function (evaluating_firebase

Good afternoon I have the following problem with an apk in react-native. I already try to find the error but I can not find any I hope you can help me I leave the code below. ArtistDetailView.js import React, { Component } from 'rea...
asked by 09.05.2018 / 02:20
1
answer

How can I limit the elements in a FlatList in React Native?

I'm trying to limit the elements, in this case the posts, I just want to show 4 posts. My Code: componentDidMount() { return fetch(ConfigApp.URL+'json/data_posts.php') .then((response) => response.json()) .then((responseJs...
asked by 06.05.2018 / 00:16