Learn to create a custom progress button in React Native and TypeScript
Learn how to create a custom progress button in React Native with example. We will use TypeScript in the example here.
Journey with code and design
Learn how to create a custom progress button in React Native with example. We will use TypeScript in the example here.
Learn how to dismiss the keyboard automatically if user is scrolling through a FlatList in React native. This post will show you with one example program.
Learn how to check if the keyboard is opened or closed in React Native for both Android and iOS. I will show you three ways in this post.
Learn how to hide the keyboard in React Native if user taps outside of a TextInput with example. This post will show how to use a ScrollView and how to use the Keyboard module.
Learn to change the text size of TextInput component of React Native. We will create one react native project and change the font size of a given TextInput.
Python program to remove the first occurrence of an item from a list. We will learn how to use the remove() method, pop() method and del operator with example for each.
JavaScript program to find if an object is an array or not in two different ways. It will show how to use Array.isArray and instanceOf operator with examples.
JavaScript program to add the digits of a number in 4 different ways. This post will show how to add the number digits by using a while loop, for loop, by converting the number to string and with the reduce() function.
JavaScript program to iterate over an array of objects in 6 different ways. We will learn how to use a for loop, while loop, do-while loop, forEach, for...of and for...in loops.
Different ways in JavaScript to find the matches in an array of objects. We will learn how to use the filter method and how to filter out objects with multiple properties in JavaScript.
Three ways in JavaScript to check if an element is in an array or not. We will use a loop, the indexOf method, and the includes method with examples for each.
How to read user input numbers with blank spaces in Java. The program will read the numbers and add them to an array. We will learn how to solve it by using a loop and by split the string.
Learn how to take user inputs with blank spaces in C programming. We will learn how to do it with scanf and with fgets method with examples.
JavaScript program to show and hide a div on clicking a button. This post will show you how to write the program with HTML/CSS and how to use the same method for different div components.
JavaScript program to find simple interest. We will learn how to solve it with a given value and how to implement it with HTML/CSS.
Dart program to check if a LinkedHashMap contains a key or value in 5 different ways. This post will show you different ways with examples.
3 different ways to remove items to a LinkedHashMap in Dart. We will learn how to use the remove, removeWhere and clear methods to remove items from a LinkedHashMap.
Learn how to update a single or multiple items of a Dart LinkedHashMap with examples. We will use the update() and updateAll() methods of the LinkedHashMap.
3 different ways to add items to a LinkedHashMap in Dart. We will learn how to use the addAll method and how to use entries to add items to a LinkedHashMap.
7 different ways to create a LinkedHashMap in Dart with example. This post will show you how to create a LinkedHashMap in Dart with different ways with examples.
Introduction to Dart LinkedHashMap class with examples. Learn how to use the LinkedHashMap class and different methods and properties of these class.
Dart HashSet skip and skipWhile methods explanation with examples. The skip and skipWhile methods are used to skip first few elements of a HashSet in Dart.
Dart HashSet fold and reduce methods explanation with examples. The fold and reduce methods are used to get a single value from a HashSet in Dart.
Learn how to use the where and whereType methods of Dart HashSet with examples. We can use these methods to get an iterable of elements satisfied by a given condition.
Dart HashSet take and takeWhile method explanation with examples. This post will show you how to use the take and takeWhile methods with example for each.
Learn how to check if a HashSet is empty or not in Dart in three different ways. We will use the isEmpty property, isNonEmpty property and the length of the HashSet to check if it is empty.
Learn how to find union and intersection of HashSets in Dart with examples. The Dart HashSet class provides two methods to find the union and intersection of sets.
Learn how to add or remove items from a HashSet in Dart with examples. Learn to add a single
Learn how HashSet works in Dart and its methods and properties. The HashSet class in Dart is used for a hash table based set implementation.
Different ways to iterate hashmap in Dart. This post will show you how to iterate over the keys, values and items of a Dart HashMap with examples.
Learn to add and remove items of a HashMap in Dart. Learn to add single item, multiple items, remove single item or multiple items from a HashMap in Dart with examples.
Introduction to HashMap class in Dart. Learn about the constructors, methods and properties of the Dart HashMap class.
Learn to use the reduce function of Dart Queue. This function reduces one queue to a single value. It takes one combine function to combine all the values to a single value.
Learn to remove and retain dart queue items with given condition. We will learn how to use the removeWhere and retainWhere methods of Dart Queue with example for each.
How to add and remove items from a Queue in Dart. It will show how to add single element, multiple elements, add an element to the start or end, remove all elements, remove a single element, remove the first and the last element and remove specific elements from a queue.
Learn how to implement Queue in Dart. Learn the constructors, properties and methods of the queue class in Dart.
Dart program to print the multiplication table of a number. This post will show you five different ways to print the multiplication table of a user given number.
Dart StringBuffer class explanation with examples. The StringBuffer class is used to concatenate strings efficiently in Dart. This post will show you how to add a newline, string and iterable to a StringBuffer.
Learn how to create string from ASCII in Dart. We will also learn how to convert a string to a list of ASCII values in Dart.
C++ program to find the smallest and the second smallest numbers in an array. Learn three different ways in this post with examples.
JavaScript program to replace multiple characters of a string with one single replace call. This post will show you different examples with the replace() method and replaceAll() method with regex.
This post will show you how id() function works in Python. The id() function is used to get the identity of an object. Learn how this function works with different examples.
Learn what is a destructor in a class in C++ with examples. This post will show you how destructors are defined, and how they works with different examples.
Learn how ArithmeticException in Java works with examples. Learn about the constructor of ArithmeticException and how this exception is thrown in Java.
This post will explain how method overloading works with examples. We will learn how method overloading works with different numbers of parameters in Java with example program.
This post will explain how method overriding works with examples. Learn how access specifier works in method overriding, how to access the methods in a superclass and the rules of method overriding.
Learn how to format a Date in AM/PM in Java. We will use the SimpleDateFormat class to format a string to AM/PM date in Java and how to convert a 24 hour time to 12 hour with AM/PM.
What is inheritance and hybrid inheritance in Java. This post will explain about hybrid inheritance with different examples.
Learn about checked and unchecked exception in Java with examples. Also learn what is exception, how to handle exceptions in Java with try-catch blocks.
Java program to sort an ArrayList of objects. We will learn 7 different ways in Java to sort an ArrayList of objects.