setTimeout() method is used to execute a piece of code after a certain delay. In this post, I will show you how to use setTimeOut with examples.
ReadA circular image is required in many places like a profile picture, album cover etc. It is pretty easy to create in react native. If you know how to add one image component, then you can simply jump to the code. I will show you how to make one image circular, how to add one border with width and color in React Native.
Readwhile loop is similar to for loops. Using a loop, you can execute a piece of code repeatedly until a condition fails. In this blog post, we will learn how to use while loop in C++ with examples.
ReadIn this tutorial, we will learn how to make one TextInput component to take password inputs. By default, if you enter any text in a TextInput field, it is visible. Converting it to a password field means changing the text not readable to the user.
ReadSwitch is available in both android and iOS. This component is mainly used to add one turn on/off feature in Mobile apps. React-native provides one switch component with a couple of different props. In this tutorial, we will learn how to use this component and its props.
Readif...else statements are decesion making statements and these statements are mostly used statements in any programming language. In this post, we will learn how to use if...else in c++ with examples.
ReadKotlin program to get the binary representation of an integer value. We have two different ways to find out the binary representation of an integer value. Let me show you how :.
ReadKotlin sortedBy is useful to sort collection items. You can use it to sort items in natural order or by using a selector function. It returns a list of all elements sorted. In this quick example, I will show you how to use sortedBy with examples.
ReadIn almost all programming languages, sometimes, you might have to check the current installed version. For example, if you are using one python method that is available only to a specific version and above, it is a good practice to add one fallback option, i.e. check if the current installed python version is equal or greater to that required version or not.
ReadKotlin String class provides one method called slice to get one sub-string containing the characters defined by the method argument. It has two variants. In this post, I will show you how to use this method with examples :.
Read