Vedant Gargandroidguide.hashnode.dev·Jan 22, 2025Simplifying Background Tasks with Android Services & Broadcast ReceiversServices in Android Service is an Application Component, that can perform long-running operations in the background. Doesn't provide a user interface & can be invoked from another application component. Eg - Download File Service starts from the Butt...AndroidAndroid
Vedant Gargandroidguide.hashnode.dev·Jan 20, 2025How to Effectively Manage Data and Bind UI in Android ApplicationsView Binding in Android View binding is a feature that makes it easier to interact with views. generates a binding class for each XML layout present in the module, activity_main.xml to ActivityMainBinding instance of a binding class contains a dire...AndroidAndroid
Vedant Gargandroidguide.hashnode.dev·Jan 20, 2025Step-by-Step Android Fragments Guide for Dynamic UI DesignIntroduction A fragment is a small reusable piece of activity that is hosted by an activity. However, they are different from normal activities & have their own lifecycle, and manage their own layout. We can combine multiple fragments in a single act...AndroidAndroid
Vedant Gargandroidguide.hashnode.dev·Jan 19, 2025Simplifying Android Navigation: Intents and Backstack Explained for Seamless Data SharingIntents in Android Intent class helps us as a communication link between different application components by providing runtime binding between different components. Start an Activity A new instance of an activity can be created by passing an intent...AndroidAndroid
Vedant Gargandroidguide.hashnode.dev·Jan 18, 2025Android Activity Lifecycle Explained: Enhance Your App's NavigationActivity Single UI-Screen present to the user. Different events, some user-triggered and some system-triggered can cause an Activity to transition from one state to another. As a user navigates through the application, the Activity instances in our a...AndroidAndroid
Vedant Gargandroidguide.hashnode.dev·Jan 16, 2025Kotlin Coroutines: Essential Guide to Master Asynchronous ProgrammingIntroduction One of the major problems we face while development, is avoiding our application to get caught in bottlenecks. This leads application to blocking states and crash. Coroutines enables us to write non-blocking code, by helping us write fun...Kotlin for AndroidAndroid
Vedant Gargandroidguide.hashnode.dev·Jan 14, 2025Unlock the Power of Kotlin OOP: Master Classes, Inheritance, and Advanced FeaturesObject Oriented Programming is a programming methodology that involves execution with the help of classes and objects. Introduction Class - Blueprint of an object, class has properties(data members) and member methods(behaviour to that data) Object...Kotlin for AndroidKotlin
Vedant Gargandroidguide.hashnode.dev·Jan 12, 2025Master Kotlin Today: Your All-Inclusive Guide to Modern DevelopmentLecture 1 - Introduction Introduction to Programming - Like any other programming language, let us first have a look at the common statements that we write in a Kotlin Program. fun main() { print("Enter your name: ") var name : String = readln() ...2 likesKotlin for Androidkotlin dev
Vedant Gargandroidguide.hashnode.dev·Jan 12, 2025Exploring Kotlin Functions: Key Concepts and ExamplesIntroduction Functions are a set of statements designed to perform a specific task and are clubbed under one block for easier usage, and improved code readability. Functions are declared using the fun keyword in Kotlin : fun hello1(){ //keywo...1 likeKotlin for AndroidKotlin
José Ramón (JR)jralonso-dev.hashnode.dev·Jan 5, 2025Optionals in JavaIntroduction Optional is a class introduced in Java 8 to handle null values in order to avoid the dreadful NullPointerException (NPE). It is a wrapper class that can be used to represent a value that may be null or not. Before Java 8, developers had...Java