Skip to content

Instantly share code, notes, and snippets.

View abdullateef97's full-sized avatar

Adeniran-Yusuf Abdullateef abdullateef97

View GitHub Profile
@abhishekgargx
abhishekgargx / react-native-router-flux-android-back-button-fix.js
Last active January 28, 2019 10:32
React Native | react-native-router-flux | Redux | Android Back button listener ,handle back press on android while using react native.
// below code works with Android + react native + react-native-router-flux
// this is final index.js file code from where control whole app navigation
import { BackHandler, ToastAndroid } from 'react-native';
import React,{Component} from 'react';
import { Router, Scene, Actions } from 'react-native-router-flux';
import { Provider } from 'react-redux';
// as per your compoenents import them accordingly
import Home from './home';
import OtherScreen from './OtherScreen';
//variable
@rosario
rosario / composing-software.md
Created January 17, 2018 16:13 — forked from Geoff-Ford/composing-software.md
Eric Elliott's Composing Software Series
@jmcmaster
jmcmaster / react-native-flastlist-to-sectionlist-data.html
Last active August 7, 2023 16:42
Simple algorithm to convert React Native FlatList data to SectionList data
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script>
<script>
moment.locale();
const data = [
{
datetime: "2018-01-03T13:07:46+00:00",
name: "breakfast"
},
{