Android provides SwipeRefreshLayout to implement pull to refresh functionality in Android. We can use it for RecyclerView, ListView, or other types of views. In this tutorial, I will explain how you can implement Pull To Refresh for RecyclerView using SwipeRefreshLayout in Android. The following is the Java code for pull to refresh functionality. If you […]
Method to Get Last n Characters of a String in JAVA
In this post, I am going to share a simple method that will help you to get last n (1, 2, 3 4, …) characters from a String in Java. This method is very simple as it just takes String and integer count as a parameter and returns another string containing the last specified number […]
Unable to resolve module lib-jitsi-meet/lib-jitsi-meet.min
I have recently faced this issue while customizing JitsiMeet SDK and integrating with my existing App. Here I am going to share the solution of the error, how I solved it in my case. The App runs successfully but React Native shows the following error on the Device or Simulator screen. “Unable to resolve module […]
Kotlin Tutorial: Build First Android App in Kotlin
After learning about Kotlin Architecture & Installing Android Studio in previous tutorials, now we are ready to build our first Android App in Kotlin. Follow the tutorial to the end to develop your first Android App in Android Studio. 1. Start a New Android Studio Project If you have not yet installed Android Studio you […]
Kotlin Tutorial: Environment Setup & Android Studio Installation Guide
In this tutorial, we will learn the Kotlin Environment Setup and a step by step guide for Android Studio Installation. To get started with Kotlin’s development first we need to install an IDE on which we can write our Kotlin code, can compile, run & debug. We have the following options for IDEs to use […]
Kotlin Tutorial: Kotlin Architecture & Interoperability
In this tutorial, we will discuss the architecture of Kotlin programming language and its Interoperability feature. As you know we write Kotlin code in .kt file. Kotlin compiler converts that Kotlin code written in .kt file into byte code. That byte code is exactly the same as Java compiler generates for .java class file. That […]
Check If Application is Installed in Android – Kotlin
Sometimes we have to check about the specific Application, Does the user has Installed in the phone in Android? In the following article, I am going to share a simple function that you can use to check if the Application is installed in Android Phone in Kotlin. There is also another function below which checks […]
Kotlin Tutorial: Overview For the Beginners
Kotlin is a new and open-source programming language developed by JetBrains. They are the official developers of the most famous Java IDE, named Intellij IDEA. In this Kotlin tutorial series we will learn Kotlin from the beginning. Kotlin is a statically typed language, which means that all the types of variables used in the code […]
Send Data to Server Using Google Volley in Android – Kotlin & Java
In this tutorial, we will learn how to call an API on the server and how to send data to the server in Android using both Kotlin and Java languages. For this purpose, we are going to use Google Volley HTTP library to communicate with the server. Using Google Volley we can easily send and […]
Get Full Screen Size Including Status Bar & Navigation Bar – Android
Few Android devices have bottom software navigation bars which include back & home buttons. In this article, I am going to share a utility method to get full screen size including top status bar & bottom navigation bar in Android in both Java & Kotlin. If you want to get screen size without including the […]