Categories
Mastering Development

Navigation bar in tableView give mi back space when tapped to scroll on top

When I tap to bring the tableView (This happened with Large Titles) on top, it gives me back a space, which then turn back at the second tap (see image). I try to set tableView.scrollsOnTop = false and add a button to do it… The space go away but the Large titles too, when I […]

Categories
Development React

Reference error when trying to access a variable defined inside a constructor in react-native

I need to implement a checkbox component in react-native which should work in both ios and android. I tried using CheckBox component of react-native, but it doesn’t work in ios. So, I took the below code from a website, import React, { Component } from ‘react’; import { Alert, Image, Platform, StyleSheet, Text, TouchableHighlight, View […]