Measure and get position on view react-native Hi Guys, In this article, we are going to learn about how to get a view position in react-native, we are going to explore how to measure and get the position of react-native elements on the screen, we are going to use onLayout,…
Read MoreTag: react-native
Sort ArrayList by id react-native
Hi Guys, In this article, we going to learn about How to sort ArrayList by id in react-native, while developing react-native application developer’s need to save API response in state and use these data for display, this data mainly list and developers add his logic, algorithms on this list, sometimes…
Read MoreRemove duplicate object from Arraylist react-native
Hi Guys, In this article, we are going to learn about How to Remove duplicate object from ArrayList react-native, while developing an application, mostly for developing the dynamic application developers uses web services i.e. APIs. after parsing response developers do many add, update queries on that data and sometimes will…
Read MoreCould not connect to development server Error in React Native
Could not connect to development server error solved In this article, we going to learn about the common error in the react-native which is could not connect to development server error, React-native project run’s on backend server which builds our code directly and reflect on screen for this you need to…
Read MoreInstalling React Native on Windows Tutorial
Installing React Native on Windows Tutorial Hi guys, in this article we are going to learn about the step by step setup guide for Installing React-Native on Windows, so lets 1. To Install React Native we need Node.js Install Node.js and NPM. https://nodejs.org/en/ Verify whether NPM is installed by typing npm -v…
Read MoreReact-native hooks example
How to setState in react-native function Hi Guys, In this article, we are going to learn about React-native hooks example, After React 16.8 we can use hooks in our project, React hooks meanly use for state management in function. Normally in class, we use setState() to refresh data on screen…
Read MoreCalling method from navigationOption header button
How to call a function from naviagtionOption react-native While developing applications react-native it is important to design app with clean navigation, as we know React-native uses React-navigation to navigate between screens and navigation header is most common in the application so in this article we going to learn about calling…
Read MoreChange react native app font-family
Change font-family of React-native Application Hi guys, In this article, we are going to learn about how to change the font-family of text also change whole application font using react-native-global-font. It is important for the developers to make clean and nice-looking design their App, and app font is one of…
Read MoreHow to disable Textinput in React Native
In this article, we learn about How to disable Textinput in React Native. As a developer we need to disable React native TextInput view for this, you have to add editable={false} and selectTextOnFocus={false} to disable TextInput in react-native, let’s look at the code 1. Create a new project react-native init TestProject…
Read MoreHow to add style to React Native Component Using Stylesheet
In this article, we learn about how to add style to React Native Component Using Stylesheet, it is to CSS which used on the web. React-native comes with inbuild components and these components support a specific type of style. some set of style are similar for multiple components but some…
Read More