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.
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.
In Kotlin, lists are a type of collection that allows you to store and manipulate a sequence of elements. Kotlin provides a variety of language constructs and standard library functions for handling lists.
In Android Jetpack Compose, the Column layout composable is used to arrange multiple composables vertically.
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
Dagger 2 walks through the dependency graph and generates code that is both easy to understand and trace, while also saving you from writing a large amount of boilerplate code you would normally need to write by hand to obtain references and pass them to other objects as dependencies.
In Dagger 2, interface injection refers to the process of injecting dependencies into an interface rather than a concrete class. While interface injection is not the primary approach in Dagger 2 (constructor or field injection is typically used), it can be achieved with the help of the @BINDS annotation.
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.
Add a description, image, and links to the vaibhavmojidra topic page so that developers can more easily learn about it.
To associate your repository with the vaibhavmojidra topic, visit your repo's landing page and select "manage topics."