Kotlin Firebase Cloud Messaging – How to Subscribe TOPIC & Receive Messages | Android

FCM Topic Messaging helps us to send a message to multiple devices that have subscribed to a particular TOPIC. We compose topic messages, then FCM handles routing and delivering the messages to devices. In this tutorial, we’re gonna look at way to subscribe TOPIC, receive Messages, then unsubscribe in an Android App Client with Kotlin langugage.

Related Post: Kotlin Firebase Cloud Messaging – How to Receive Messages | Android

[Continue reading…] “Kotlin Firebase Cloud Messaging – How to Subscribe TOPIC & Receive Messages | Android”

Kotlin Firebase Cloud Messaging – How to Receive Messages | Android

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that help us deliver messages reliably at no cost. In this tutorial, we’re gonna look at way to receive Messages in an Android App using FCM.

More Practice: Kotlin Firebase Cloud Messaging – How to Subscribe TOPIC & Receive Messages | Android

[Continue reading…] “Kotlin Firebase Cloud Messaging – How to Receive Messages | Android”

Kotlin SQLite example – Search with Listview | Android

In previous post, we had known how to make CRUD operations with Android ListView. In this tutorial, we’re gonna look at how to implement Search function with SearchView.

Related posts:
Kotlin ListView example | Android
Kotlin SQLite example – CRUD operations with ListView | Android

[Continue reading…] “Kotlin SQLite example – Search with Listview | Android”

Kotlin SQLite example – CRUD operations with ListView | Android

SQLite is an Open Source database that supports standard relational database features like SQL syntax, transactions and prepared statements. Each column in an SQLite database is assigned one of data types: NULL, INTEGER, REAL, TEXT, BLOB. In this tutorial, we’re gonna look at how to make SQLite CRUD operations when interacting with ListView.

Related Posts:
Kotlin ListView example | Android
Kotlin GridView example: Show List of Items on Grid | Android

More Practice: Kotlin SQLite example – Search with Listview | Android

[Continue reading…] “Kotlin SQLite example – CRUD operations with ListView | Android”

Kotlin GridView example: Show List of Items on Grid | Android

GridView is an Android ViewGroup that can show items in a 2-dimensional, scrollable grid. The grid items will be inserted to the layout using an Adapter. In this tutorial, we’re gonna create an Android App that can show List of Items on a Grid using GridView.

More Practice: Kotlin GridView example: Show Item Details | Android

Related Post: Kotlin ListView example | Android

[Continue reading…] “Kotlin GridView example: Show List of Items on Grid | Android”

Kotlin SpringJPA One-to-One relationship

In the tutorial, JavaSampleApproach will show you the way to create an Kotlin SpringJPA One-to-One relationship application with SpringBoot.

Related posts:
Kotlin SpringJPA Many-To-Many relationship
Kotlin SpringJPA Hibernate One-To-Many relationship
How to configure Spring JPA One to One Relationship – SpringBoot

[Continue reading…] “Kotlin SpringJPA One-to-One relationship”

Kotlin SpringJPA Many-To-Many relationship

In the tutorial, JavaSampleApproach will show you the way to create an Kotlin Spring Many-To-Many relationship application with SpringBoot.

Related posts:
Spring JPA – Many to Many relationship
Kotlin SpringJPA Hibernate One-To-Many relationship
Kotlin SpringJPA One-to-One relationship
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Kotlin SpringJPA Many-To-Many relationship”

Kotlin SpringJPA Hibernate One-To-Many relationship

In the tutorial, JavaSampleApproach will show you how to implement Kotlin SpringJPA Hibernate One-To-Many relationship application with SpringBoot.

Related posts:
Kotlin SpringJPA Many-To-Many relationship
How to configure Spring JPA One to Many Relationship – SpringBoot
Kotlin SpringJPA One-to-One relationship
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

[Continue reading…] “Kotlin SpringJPA Hibernate One-To-Many relationship”

Kotlin SpringBoot JQuery Ajax POST/GET requests

In the tutorial, JavaSampleApproach will show you how to send/retrieve data objects by Kotlin SpringBoot JQuery Ajax POST/GET application.

Related posts:
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example
Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite
How to integrate JQuery Ajax POST/GET & Spring MVC | Spring Boot

[Continue reading…] “Kotlin SpringBoot JQuery Ajax POST/GET requests”

Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example

In the tutorial, JavaSampleApproach shows you how to create Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping using SpringBoot.

Related posts:
Kotlin SpringJPA Many-To-Many relationship
Kotlin Spring JPA + Postgresql | Spring Boot Example
Kotlin SpringJPA Hibernate One-To-Many relationship
Spring Framework 4.3 New Feature RequestMapping: @GetMapping, @PostMapping, @PutMapping, @DeleteMapping

[Continue reading…] “Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example”

Kotlin Spring JPA + Postgresql | Spring Boot Example

Spring JPA helps us improve our codes and reduce efforts for development and maintenance. It supports us the ways to write interface for repositories and custom finder methods, the implementation will be done automatically by Spring Framework. This Kotlin tutorial shows you how to create Kotlin Spring JPA application with PostgreSQL using Spring Boot.

Related posts:
Kotlin – How to start Kotlin development with SpringBoot + Maven + SpringToolSuite
Kotlin Spring MVC RequestMapping RESTful APIs with @GetMapping, @PostMapping, @PutMapping, @DeleteMapping | SpringBoot Example
How to use Spring JPA with PostgreSQL | Spring Boot

[Continue reading…] “Kotlin Spring JPA + Postgresql | Spring Boot Example”

Kotlin Lazy Initialization Example

Lazy Initialization is a common pattern for delaying creation of an object, calculation of a value, or an expensive process until it’s accessed for the first time. It is helpful when the initialization process consumes significant resources and the data isn’t always required when the object is used. Kotlin provides a good solution for that with lazy function. In this tutorial, we’re gonna look at a Kotlin Lazy Initialization example.

[Continue reading…] “Kotlin Lazy Initialization Example”

Kotlin Singleton with Object Declaration

In object oriented programming, there is a common situation when you want a class to have only one instance. In Java, we usually implement using the Singleton Design Pattern: define a class with a private constructor and a static field holding the only existing instance of that class. This tutorial shows you a way to implement Singleton with Kotlin Object Declaration.

[Continue reading…] “Kotlin Singleton with Object Declaration”