Skip to content

Instantly share code, notes, and snippets.

View mariodev12's full-sized avatar

Mario mariodev12

View GitHub Profile
[
{
"superhero":"Batman",
"publisher":"DC Comics",
"alter_ego":"Bruce Wayne",
"first_appearance":"Detective Comics #27",
"characters":"Bruce Wayne"
},
{
"superhero":"Superman",
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
import React, { Component } from 'react';
import Video from 'react-native-video';
import {
TouchableWithoutFeedback,
TouchableHighlight,
PanResponder,
StyleSheet,
Touchable,
Animated,
Easing,
@mariodev12
mariodev12 / App.js
Created February 10, 2017 08:26
Search Bar with a ListView using an API
import React, {Component} from 'react'
import {
Text,
StyleSheet,
View,
ListView,
TouchableHighlight,
Dimensions,
Image,
Animated,
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
<application>
<!-- You will only need to add this meta-data tag, but make sure it's a child of application -->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="YOUR GOOGLE MAPS API KEY HERE"/>
</application>
dependencies {
...
// Paste these line
compile(project(':react-native-maps')){
exclude group: 'com.google.android.gms', module: 'play-services-base'
exclude group: 'com.google.android.gms', module: 'play-services-maps'
}
compile 'com.google.android.gms:play-services-base:10.0.1'
compile 'com.google.android.gms:play-services-maps:10.0.1'
}
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h"
open googleMapsAirbnb.xcworkspace
open .