|
|
@@ -40,8 +40,9 @@ class FirstTabScreen extends Component {
|
|
40
|
40
|
}
|
|
41
|
41
|
],
|
|
42
|
42
|
fab: {
|
|
43
|
|
- id: 'share',
|
|
|
43
|
+ collapsedId: 'share',
|
|
44
|
44
|
collapsedIcon: require('../../img/ic_share.png'),
|
|
|
45
|
+ expendedId: 'clear',
|
|
45
|
46
|
expendedIcon: require('../../img/ic_clear.png'),
|
|
46
|
47
|
backgroundColor: '#3F51B5',
|
|
47
|
48
|
actions: [
|
|
|
@@ -66,16 +67,24 @@ class FirstTabScreen extends Component {
|
|
66
|
67
|
backgroundColor: '#FF5722'
|
|
67
|
68
|
}
|
|
68
|
69
|
]
|
|
69
|
|
-
|
|
70
|
70
|
}
|
|
71
|
71
|
};
|
|
72
|
72
|
|
|
73
|
73
|
constructor(props) {
|
|
74
|
74
|
super(props);
|
|
|
75
|
+ console.log('FirstTabScreen', 'constructor');
|
|
75
|
76
|
// if you want to listen on navigator events, set this up
|
|
76
|
77
|
this.props.navigator.setOnNavigatorEvent(this.onNavigatorEvent.bind(this));
|
|
77
|
78
|
}
|
|
78
|
79
|
|
|
|
80
|
+ componentWillMount() {
|
|
|
81
|
+ console.log('FirstTabScreen', 'componentWillMount');
|
|
|
82
|
+ }
|
|
|
83
|
+
|
|
|
84
|
+ componentWillUnmount() {
|
|
|
85
|
+ console.log('FirstTabScreen', 'componentWillUnmount');
|
|
|
86
|
+ }
|
|
|
87
|
+
|
|
79
|
88
|
onNavigatorEvent(event) {
|
|
80
|
89
|
if (event.type == 'DeepLink') {
|
|
81
|
90
|
this.handleDeepLink(event);
|