Tag: kotlin
-
Kotlin Coroutines for Android Development
If you want to get started with Kotlin Coroutines for Android Development and want to master it, then this article is for you. In this tutorial, we are going to master the Kotlin Coroutines in Android by covering the following topics: Before getting started, check out my other post on kotlin. Beginning Android Development with […]
-
Kotlin Scope Functions Explained [Example]
By definition, Scoped functions are functions that execute a block of code within the context of an object. Kotlin “scope functions” are functions that allow for changing the scope, or the range, of a variable. There are five such functions included in the Kotlin standard library: apply, run, with, let, and also. before getting started […]
-
How to display popupwindow in android with example
Popupwindow is a floating view that is displayed on top of an activity. Android provides a PopupWindow class for creating a popup window with a custom design. It is present from the first versions of the API but is not as popular as other dialog boxes due to the need for additional configuration, which is […]
-
Easy Guide To Setup Single Sign-On With AppAuth Android
Appauth Android is a client SDK for native apps to authenticate and authorize end-users using OAuth 2.0 and OpenID Connect. Available for iOS, macOS, Android, and Native JS environments. it implements modern security and usability best practices for native app authentication and authorization. It strives to directly map the requests and responses of those specifications while following the idiomatic style of the implementation language. In […]
-
Make Your Layout Responsive With ConstraintLayout In Android
ConstraintLayout allows you to create large and complex layouts with a flat view hierarchy (no nested view groups). It’s similar to RelativeLayout in that all views are layered out according to relationships between sibling views and the parent layout, but it’s more flexible than RelativeLayout and easier to use with Android Studio’s Layout Editor. The ConstraintLayout […]
-
Beginning Android Development with Kotlin
Contents What is Kotlin? Why kotlin in Android? Kotlin internals Java vs Kotlin Features available in Kotlin What is Kotlin? Kotlin is a general purpose, open source, statically typed programming language for the JVM, Browser, Native, and Android that combines object-oriented and functional programming features. In July 2011, JetBrains unveiled Project Kotlin, a new language […]
-
Easy Steps To Setup Room Database In Android
Room Database is a part of the Android Architecture components which provides an abstraction layer over SQLite which allows for more robust database access while still providing the full power of SQLite. Room is a persistence library, part of the Android Jetpack Before getting started, check out another post on the jetpack, Getting started with WorkManager [Example] Dependency […]
-
Make REST API request with Kotlin ktor client in android
Ktor is a framework to easily build connected applications, web applications, HTTP services, and mobile and browser applications. Modern connected applications need to be asynchronous to provide the best experience to users, and Kotlin coroutines provide awesome facilities to do it in an easy and straightforward way. Ktor is a new framework for building asynchronous […]