This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState, useEffect } from 'react'; | |
| import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; | |
| import { Dropdown } from 'react-native-element-dropdown'; | |
| import { Snackbar } from 'react-native-paper'; | |
| const listCountry = [ | |
| { countryId: '1', name: 'india' }, | |
| { countryId: '2', name: 'uk' }, | |
| { countryId: '3', name: 'canada' }, | |
| { countryId: '4', name: 'us' }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import WifiConnect from "./wificonnect" | |
| export default function App() { | |
| return <WifiConnect />; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState } from "react"; | |
| import { | |
| StyleSheet, | |
| Text, | |
| View, | |
| TouchableOpacity, | |
| Dimensions, | |
| } from "react-native"; | |
| import Ionicons from "react-native-vector-icons/Ionicons"; | |
| import QRScanner from "./qrScanner"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { | |
| Text, | |
| SafeAreaView, | |
| StyleSheet, | |
| Dimensions, | |
| View, | |
| TextInput, | |
| Button, | |
| ImageBackground, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| search in list | |
| sample search result item | |
| sample data | |
| basic page structure with searchinput,flatlist | |
| search functionality in post title | |
| adding if conditions | |
| lowercase | |
| search functionality in post description same as post title |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| prepare sample data array | |
| base structure. title and list | |
| design model ui | |
| design comment item username and comment text | |
| design comment item profile picture | |
| add styles | |
| adjust margin and padding | |
| form data array in useeffect | |
| test the result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var arr = []; | |
| var arr1; | |
| var crit = {"prsn": "", "age": 20, "color": ""}; | |
| void main() { | |
| for (int i = 0; i < 3; i++) { | |
| arr.add({"prsn": "name${i + 1}", "age": 25 + i, "color": "green"}); | |
| //arr[i]=i+1; | |
| } |