Skip to content

Instantly share code, notes, and snippets.

View praveenvishal's full-sized avatar

Praveen Vishal praveenvishal

View GitHub Profile
import React, { Component } from 'react';
import { AppRegistry, StyleSheet, FlatList, Text, View, Alert, Platform, Image, Dimensions, TouchableOpacity, ActivityIndicator } from 'react-native';
import { ScrollView } from 'react-native-gesture-handler';
import * as actions from '../../actions';
import { connect } from 'react-redux';
import { withNavigation } from 'react-navigation';
import { getImageUrl } from '../../util/utility'
import AsyncStorage from '@react-native-community/async-storage'
import AwesomeAlert from 'react-native-awesome-alerts';
import React, { Component } from 'react';
import { AppRegistry, StyleSheet, FlatList, ActivityIndicator, TouchableOpacity, TouchableHighlight, Text, View, Alert, Platform, Image, Dimensions } from 'react-native';
import { getImageUrl } from '../../util/utility'
import { SwipeListView } from 'react-native-swipe-list-view';
const { height, width } = Dimensions.get('window');
import { connect } from 'react-redux';
import * as actions from '../../actions';
import { GlobalFile } from '../../constants/GlobalFile';
import AsyncStorage from '@react-native-community/async-storage'
import React, { Component } from 'react';
import { Text, View, Image, StyleSheet, TextInput, Dimensions, TouchableOpacity, TouchableHighlight } from 'react-native';
import { KeyboardAvoidingView } from 'react-native';
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
import { ScrollView } from 'react-native-gesture-handler';
import Modal from "react-native-modal";
import SafeAreaView from 'react-native-safe-area-view';
import CardView from 'react-native-cardview'
import { connect } from 'react-redux';
import * as actions from '../../actions';
@praveenvishal
praveenvishal / gist:c4684740d68a54a393ce42a67534deec
Created December 4, 2019 06:39
Timepicker Modal React Native
import React from 'react';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Button,
Text,
StatusBar,
TouchableOpacity, Modal,
package com.stickmanmobile.engineroom.heatmiserneo.ui.customui;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.SweepGradient;