Android Notification Example

This post is about android notification, how to create a simple notification, notification styles, how to add actions in notifications with the help of simple android application. Notification A Notifications provide short, timely information about events happened in the application, even if the application is not running. Creating a Basic Notification A notification in its …

Android Notification ExampleRead More »

Android Snackbar(Java/Kotlin)

This article is about Android Snackbar and how to use it in android application with simple examples in Java and Kotlin. Snackbar Snackbar is an Android Material Design component . It provide lightweight response about an operation by showing a short message at the bottom of the screen on mobile and lower left on larger …

Android Snackbar(Java/Kotlin)Read More »

Android Toast(Java/Kotlin)

This article is about Android Toast and how to use it in android application with simple examples using Java and Kotlin. Toast A toast provides simple feedback about an operation in a small popup.  By default it appears near the bottom of the screen, centered horizontally. Toasts are not clickable and automatically disappear after a …

Android Toast(Java/Kotlin)Read More »

Java Abstract Class and Abstract Methods

In this tutorial, we will learn about Java abstract classes and methods and how to use them in our program with the help of examples. Abstract Class An abstract class is a class that cannot be instantiated (we cannot create objects of an abstract class). Syntax We use the abstract keyword to declare an abstract class. …

Java Abstract Class and Abstract MethodsRead More »

Kotlin Constructor in Inheritance

In this article, you will learn about Constructors (both primary and secondary constructor) behavior in Inheritance, in Kotlin with the help of examples. A constructor for a class is a special member function, which is called implicitly, just after the memory is allocated for the object to initialize the properties of the newly created object …

Kotlin Constructor in InheritanceRead More »

Kotlin Inheritance

In this tutorial, we will learn about Inheritance in Kotlin with the help of examples. Inheritance Inheritance is one of the key feature of OOP (Object Oriented Programming). Inheritance can be defined as the process where one class is allowed to inherit the features (properties and functions) of another class. The class which inherits the features of other …

Kotlin InheritanceRead More »

Java Constructor in Inheritance

In this article, you will learn about Constructor behavior in Inheritance, in Java with the help of examples. A Constructor is a member function of a class that allows you to initialize a newly created object of that class type with some initial value and has same name as class with no explicit return type. …

Java Constructor in InheritanceRead More »

Java Inheritance

In this tutorial, we will learn about inheritance in Java with the help of examples. Inheritance Java Inheritance is one of the key feature of OOP (Object Oriented Programming). Inheritance can be defined as the process where one class is allowed to inherit the features (fields and methods) of another class.  Inheritance supports the concept …

Java InheritanceRead More »

Kotlin Extension Function

In this article, you will learn to extend a class with new functionality using extension functions. Extension Function Kotlin provides the ability to add methods to the existing classes without having to inherit from the class or use design patterns such as Decorator to do this. This is achieved using special declarations called extensions. Using …

Kotlin Extension FunctionRead More »

Kotlin Infix Function Call

In this article, you will learn about infix notation to call a function in Kotlin with the help of examples. Kotlin supports function calls of a special kind, called infix calls. In Kotlin, functions marked with infix keyword can also be called using infix notation means calling without using parenthesis and dot. Before you learn …

Kotlin Infix Function CallRead More »

%d bloggers like this: