Posts

Implement SharedViewModel in Pure Jetpack Navigation App

Image
  We all must have used SharedViewModel in Fragment based navigation using activityViewModels(). But now… what if our app is built in 100% Jetpack Compose? No fragments, No FragmentManager, No ViewModelStoreOwner. So… if we have 2 basic authentication screens LoginScreen and RegisterScreen, how can we share viewmodel/state across composables? 👇🏻 // Inside any Composable screen val parentEntry = remember(navController) { navController.getBackStackEntry( "auth_graph" ) // Your navGraph route } val viewModel: SharedViewModel = viewModel(parentEntry) Now both LoginScreen() and RegisterScreen() inside auth_graph can share the same SharedViewModel. ❤️ 💡 Why this matters If we’re building multi-step flows (Auth, Checkout, Onboarding), this keeps our architecture clean, and state scoped. Checkout the Git Repo from here… https://github.com/dev-vikas-soni/compose-shared-view-model If you enjoyed the article and would like to show your support, be sure to: 👏 Applaud for the story...

Apple 🍎WWDC 2025: What's New in Simple Words 🌟

Image
  Apple just dropped a tech bomb at WWDC 2025, and it’s packed with shiny new features, futuristic upgrades, and a whole lot of “finally!” moments. Here’s your no-fluff, all-fun roundup of what’s new: 💻 macOS Tahoe 26: Now With a Side of Phone Calls New Name, Who Dis? Say hello to macOS Tahoe 26 — because version numbers are so last decade. Phone App on Mac: Yes, you can now make actual phone calls from your MacBook. Your iPhone might get jealous. Live Activities: Your iPhone’s Live Activities now float into your Mac’s menu bar like magic. Spotlight Filters & Shortcuts: Searching just got smarter. And lazier. We love it. 🧊 Liquid Glass Interface: Apple Went Full Sci-Fi Glass Everywhere: App icons now float on a dreamy, translucent background. It’s like your screen took a spa day. Stretchy Time: You can now stretch the time on your lock screen. Because… why not? Available across iOS 26, iPadOS 26, and macOS Tahoe 26. 🎮 New Games App: One App to Rule Them A...

The Science Behind AI Chatbots and Language Models : LLM

Image
W ith the current digital era, artificial intelligence (AI) is gradually changing the manner in which we communicate with technology. From virtual assistants to bots, AI is becoming increasingly intelligent and human-like in its interactions. Behind this technology is the idea of large language models (LLMs), which effectively predict and create text. This blog post will explore the intriguing realm of AI chatbots, explaining their mechanism and the training process behind their capacity to serve users. Overview of Large Language Models Large language models are robust machines that rely on enormous quantities of data and sophisticated algorithms to make predictions about language. Large language models are trained on large text databases on the web, allowing them to produce meaningful and contextually correct responses in real-time. In order to comprehensively understand how these models work, it is necessary to look into their structure and functioning. The Mechanics of Language ...

Mastering Android App Performance: Expert Insights

Image
  Introduction to Android Performance Optimization Android developers constantly face challenges related to application performance and efficiency. As the demand for high-performance applications grows, understanding the tools and techniques available to optimize app performance is crucial. In this blog post, we will delve into insights shared by experts in the field, particularly focusing on Baseline Profiles and Startup Profiles, while also discussing best practices for enhancing Android application performance. Understanding Performance in Android Development The Importance of Performance Performance is a broad area in Android development that directly impacts user experience. Applications that start slowly or exhibit jank during scrolling can lead to user dissatisfaction and uninstalls. Consequently, optimizing the performance of an app is a critical aspect of a seamless user experience. Key Areas to Focus On Startup Performance: The time taken for an app to become usable...

Play Store Uploads with Fastlane Supply - 4

Image
If you’ve ever manually uploaded an APK or AAB to the Google Play Store, you know it can be a tedious process. From filling out all the necessary metadata to selecting the correct APK version, it can feel like a lot of repetitive work. But with Fastlane Supply , you can automate this entire process — making your app releases smoother, faster, and error-free. In this section, we’ll explore how Fastlane Supply works and how to set it up to upload your Android app directly to the Play Store with ease. Step 1: Set Up Google Play API Access Before you can upload your app with Fastlane Supply , you need to set up Google Play API access . This ensures that Fastlane can communicate with the Play Store and upload your APK or AAB. Here’s how you can set up API access: Create a Google Cloud project : Go to the Google Cloud Console. Create a new project. Enable the Google Play Developer API : In the Cloud Console, search for and enable the Google Play Developer API . Create a service account ...