This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Firebase | |
| class MockFirebase: Firebase { | |
| let mockError = NSError(domain: "This is a test error", code: 0, userInfo: nil) | |
| let mockSnapshot = FDataSnapshot() | |
| var makeApiFail = false | |
| var observerRomoved = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { | |
| AppRegistry, | |
| StyleSheet, | |
| Image, | |
| Text, | |
| ListView, | |
| Navigator, | |
| View | |
| } from 'react-native'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Expandable extends Component{ | |
| constructor(props){ | |
| super(props); | |
| this.icons = { | |
| 'up' : require('./images/up.png'), | |
| 'down' : require('./images/up.png') | |
| }; | |
| this.state = { |