Before creating modules, we need to know which dependency objects we need in our Android components. For example, to make a network request, we need OkHttp and serialization dependency (Gson, Moshi, etc.) objects that help to create Read Full
Tag: Android
Android Data Binding With MVVM: Using LiveData and ViewModel
Let’s continue with the example we used in the previous part of this series. In part 1, we directly imported UserModel in the Activity as a data source to the binding. In this part, we’ll create a Read Full
Replace Deprecated Kotlin Synthetics With Jetpack View Binding in Android
View binding is the current recommendation from the Google team for importing the views from XML to Activity, Fragment, or Adapter classes. View binding is a feature that allows us to more easily write code that interacts Read Full
5 More Kotlin Extensions for Android Developers
Online status, permissions, spannable strings, and more Photo by Ave Calvar on Unsplash. You might have already gone through a bunch of articles related to Kotlin extensions, but this article is not all about extensions. It’s about Read Full
Swipe To Dismiss Android RecyclerView Items Using Kotlin
Build beautiful, customizable lists in your Android apps Photo by Kelly Sikkema on Unsplash. In this article, you’ll learn how to implement RecyclerView, which offers you the ability to swipe items. We’re going to do this without Read Full
How To Iterate Correctly With Java
There are three classic ways to iterate with language-integrated keywords: for Enhanced for (Java 5+) while/do-while The for loop A for loop is defined in the docs as: for (; ; ) { …} The three expressions Read Full
Android 2-Way Data Binding With MVVM
Combine the power of data binding with architecture components Photo by Marissa&Eric on Unsplash. This is the beginning of a series in which you’ll learn about data binding basics and how to use data binding with architecture Read Full
Build the Most Common App Navigation Patterns With React Navigation 5
Leverage TypeScript to set up your cross-platform app’s flow Photo by Alvaro Reyes on Unsplash. There is no doubt that React Native has become a powerful and widely used tool to create mobile applications. At the time Read Full
An Introduction to JetPack Compose for Desktop
Use the powerful Android framework in your Windows app Photo by the author. Until now, we’ve only seen Jetpack Compose in Android development. Today, we’re entering a new phase, as JetBrains announced an early-access version of IntelliJ Read Full
Top 7 Dart Tips and Tricks for Cleaner Flutter Apps
Make use of the inspect widget, sync, and async generators Photo by Lucie Hošová on Unsplash Dart is a client-optimized programming language for quickly building mobile, desktop, and server apps. Dart was developed by Google to be Read Full
Decoupling Flutter Views for Reusability
Create better-structured views Photo by Matt Reames on Unsplash. Flutter views represent the interface presented to the user. They provide interaction and allow the users to feel the essence of the application. Unfortunately, Flutter views are also Read Full
Understanding Functions in Dart
To test and run your Dart codes, you can use the online DartPad directly in your browser. Basically, Dart is known as a statically typed language, and it has four primitive data types, which are String, int, Read Full
- 1
- 2