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 […]
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 […]
JIRA plugin development- Auto Transition utility method
If you are a JIRA plugin developer. you are in the right place. I am going to write down a utility method that will auto transition an issue from one status to another status. You may use this in Workflow Post functions, Restful service plugin extension, or any other type of Jira plugin/customization. Below, is […]
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 […]
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 […]
Swipe Layout to Hide & Show in Android – Kotlin & Java
In this tutorial, we will discuss how we can swipe layout to hide and show with animation in Android using Kotlin and Java. Below I have shared a utility class that you can add in your project and just call it using 2 lines of code and that’s it. It supports all 4 types of […]
Login Activity in Android Studio – Kotlin & Java
In this tutorial, we will design a general Login Activity in Android Studio in both Kotlin & Java Android Programming languages. In this article, we are going to use Google Material Design guidelines to design the UI. And our EditText will be floating like it moves the hint above as heading when we start writing. […]
SignUp Activity in Android Studio – Kotlin & Java
It’s a common requirement in almost every App to provide Login & signup functionality to users. In this article, we are developing a SignUp Activity in Android Studio in both Kotlin & Java. We will design a signup form based on Google Material Design components. In our Activity code, we will also perform validation for […]