/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow */ import React, { Component } from "react"; import { Platform, StyleSheet, Text, View, Image, TouchableOpacity, ImageBackground, FlatList, StatusBar, Button, DeviceEventEmitter } from "react-native"; import Orientation from "react-native-orientation"; import AndroidUtil from "../../util/AndroidUtil"; import BasePage from "../BasePage"; import CourseTitle from "./CourseTitle"; import ScheduleFlatItem from "./ScheduleFlatItem"; import CusVideo from "./CusVideo"; const instructions = Platform.select({ ios: "Press Cmd+R to reload,\n" + "Cmd+D or shake for dev menu", android: "Double tap R on your keyboard to reload,\n" + "Shake or press menu button for dev menu" }); type Props = {}; export default class SchedulePage extends BasePage { constructor(props) { super(props); this.state = { statusbar_hidden: false, videoImg_flex: 1, videoImg_width: "100%", videoImg_height: "100%", video_flex: 0, video_width: "0%", video_height: "0%", video_uri: "http://efunvideo.ai160.com/vs2m/056/05602002/05602002001/05602002001.m3u8", title_height: "6%", video_frame_height: "32%", seat_height: "2%", flatlist_height: "60%", isFull: false }; } render() { return (