Send Notification from one user to another using Firebase Cloud Messaging by retrofit library.
-
Updated
Jun 17, 2020 - Kotlin
Send Notification from one user to another using Firebase Cloud Messaging by retrofit library.
Popular Movies, Artists & TV Shows (PMATS) is a demo project to demonstrate app made using latest android app architecture components and using Clean Architecture Model where there is separation of concern. Fetches data from remote data source using Retrofit. Stores data to local data source using Room DB. Fetches data from local data source usi…
The Data Binding Library is a support library that allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically.
Android Jetpack Compose is a modern toolkit for building native user interfaces (UI) in Android applications. It is a declarative UI framework introduced by Google, designed to simplify the process of building UIs and enable a more efficient and flexible development workflow.
A PeriodicWorkRequest is a specific type of work request in WorkManager that allows you to schedule a task to be repeated at fixed intervals. It's useful for executing tasks that need to occur periodically, such as syncing data with a server or performing regular maintenance tasks.
The ViewModelFactory is a class in the Android Architecture Components that is used to create instances of ViewModel classes. In Android, a ViewModel is used to store and manage data that is used in an activity or fragment, and survives configuration changes, such as screen rotation.
Dependency injection (DI) is a technique widely used in programming and well suited to Android development. By following the principles of DI, you lay the groundwork for good app architecture. Implementing dependency injection provides you with the following advantages: 1. Reusability of code 2. Ease of refactoring 3. Ease of testing
Sealed classes are useful in scenarios where you have a restricted set of possible values or states for a type, and you want to ensure that all possible values or states are accounted for in your code.
When a nested class is marked with a keyword inner, then it will be called as an Inner class. An inner class can be accessed by the data member of the outer class.
In Kotlin, var and val are used to declare variables. The main difference between them is that var declares a mutable variable, which means its value can be changed after it is initialized, while val declares an immutable variable, which means its value cannot be changed after it is initialized.
Android Jetpack Compose is a modern UI toolkit for building native Android apps using a declarative approach. It simplifies UI development, provides a reactive programming model, and offers powerful customization capabilities.
Android Jetpack Compose is a modern UI toolkit for building native Android apps using a declarative approach. It simplifies UI development, provides a reactive programming model, and offers powerful customization capabilities.
In Android Jetpack Compose, state management is an important aspect of building reactive UIs. The RememberSaveable function is a part of the Jetpack Compose state APIs that allows you to save and restore the state of a composable function across configuration changes, such as screen rotations.
In Android, a view is a fundamental building block for constructing user interfaces. Views can be arranged in a hierarchical structure to create complex layouts. Each view is represented by a class, and these classes are organized into a hierarchy based on their functionality.
Every notification should respond to a tap, usually to open an activity in your app that corresponds to the notification. To do so, you must specify a content intent defined with a PendingIntent object and pass it to setContentIntent().
Kotlin logical operators are used to determine the logic between two variables or values. Returns true or false.
Android Hilt is a dependency injection framework provided by Google for Android app development. It is built on top of the popular dependency injection library called Dagger. Hilt simplifies the process of implementing dependency injection in Android applications and helps manage the dependencies of your app's components.
In Kotlin, a singleton is a design pattern that ensures that only one instance of a class is created throughout the application. Properties can be defined in singletons to provide access to the singleton instance or to store state that is shared by all instances of the singleton.
In Kotlin, a higher-order function is a function that takes one or more functions as arguments and/or returns a function as its result. Higher-order functions are used to enable more concise and expressive code, as well as to implement advanced programming concepts such as functional programming and the use of lambdas.
Dependency injection (DI) is a technique widely used in programming and well suited to Android development. By following the principles of DI, you lay the groundwork for good app architecture. Implementing dependency injection provides you with the following advantages: 1. Reusability of code 2. Ease of refactoring 3. Ease of testing
Add a description, image, and links to the vaibhav topic page so that developers can more easily learn about it.
To associate your repository with the vaibhav topic, visit your repo's landing page and select "manage topics."