Spinner with search option in android
Hello, Let's see the above example for your awesome dropdown list to search. Searchable Spinner is a dialog spinner with the search feature which allows to search the items loaded in the spinner.
How to call a method after a delay with handler
Hi, sometimes we need to execute my method or we can say my function after a time delay. In that situation what can I do? So the answer is - Use Handler() for that. It's so simple, you can create an Object of Handler() method or you can use directly. Let'
How To Reverse An ArrayList In Java
In this post, we will see how to reverse an ArrayList in Java by creating a copy of it. In reverse order without altering the ordering of elements in the original list.
Case-insensitive replaceAll in Java
How to replace case insensitive substrings in Java. Normally we replace string by any character or any special character or whatever we want, but sometimes we want to replace a word in the whole string by case insensitive
How to create dynamic string
Method for add some dynamic value to any string either value can string or integer. First of all create a resource in your string.xml.
How to calculate the difference between two dates
In the given example we will learn how to calculate the difference between two dates in java in terms of Second/ Minutes / Hours / Days.