Akash De Alwiszencode002.hashnode.dev·Nov 17, 2024Kotlin Basics: Input, Save, and Display Data in Android ApplicationsFor simplicity, let's use an EditText field to collect user input and a Button to trigger the save action. XML Layout (activity_main.xml) Kotlin Code (MainActivity.kt) Input Data: The EditText allows users to type their data. Save Data: When the ...DiscussKotlin
Aditya Dascodingandlearning.hashnode.dev·Nov 11, 2024Mastering Animations in Jetpack Compose: A Comprehensive GuideAnimation brings life to your Android applications, transforming static UIs into dynamic, engaging experiences. In this comprehensive guide, we'll explore the powerful animation capabilities of Jetpack Compose, breaking down different types of animat...Discuss·10 likes·31 readsJetpack Compose
Dilip PatelforDilip Patel's Kotlin blogkotlinmastery.hashnode.dev·Nov 7, 2024Fundamentals of Problem SolvingNumber Operations Extracting the Last Digit of a Number Operation: num % 10 Explanation: The modulo operation returns the last digit of a number. Example: val num = 123 val lastDigit = num % 10 // lastDigit will be 3 Potential Use: Palindro...DiscussDSAKotlin
Dilip PatelforDilip Patel's Kotlin blogkotlinmastery.hashnode.dev·Nov 7, 2024DSA With KotlinFundamentals Fundamentals of Problem Solving Basics Positive or Negative number Even or Odd number Sum of First N Natural numbers Sum of N natural numbers Sum of numbers in a given range Greatest of two numbers Greatest of the Three numbers...DiscussDSADSAinkotlin
Sagnik Mukherjeesagnikmukherjee.hashnode.dev·Nov 5, 2024Smooth Navigation in Android Studio : Using SerializableIn mobile app development, it’s rare to have an application with just a single screen. As our apps grow, so does the need for effective navigation between multiple screens. Understanding how to navigate through different screens is essential for crea...Discussnavigation
Waqas Youniswaqasyounis.hashnode.dev·Oct 14, 2024runTest vs runBlocking - SimplifiedAs the name runBlocking suggests that it runs suspending code in blocking manner, which means if there is a delay inside the unlocking block, it will also block the thread. fun main(){ runBlocking{ delay(2000) println("Inside runBlocking")...DiscussAndroid
Samuel Kimanikifee.hashnode.dev·Oct 13, 2024Kotlin DevelopmentDiscovering Kotlin: The Modern Language for Smart Developers Kotlin is like that cool new friend who shows up at a party and instantly makes everything more interesting. If you’re venturing into the world of programming, especially in Android develop...DiscussKotlin
Dilip PatelforDilip Patel's Kotlin blogkotlinmastery.hashnode.dev·Sep 30, 2024Kotlin Hello World ProgramIn this Kotlin tutorial, you're going to learn how to write and execute your first Kotlin program. Let's get started with IntelliJ IDEA. When developing Kotlin projects, you have several IDEs to choose from. One popular choice is IntelliJ IDEA, which...DiscussKotlin BasicsKotlin
Matteo VillaforCoding is better than workinga-wannabe-full-stack-diary.hashnode.dev·Sep 24, 2024Let's startSince we have to start somewhere, beginning with the APIs seems like a good idea. APIs are the heart of communication between the front-end and the back-end, and defining them at the beginning will help me establish a clear structure and ensure that ...Discussa wannabie full-stack journeykotlin beginner
nathan kayumbanathan79c.hashnode.dev·Sep 21, 2024Element Lists: The BasicsImagine being given a list of 100 elements and asked to display them on a mobile device. How would you do it? Personally, my first instinct would be to ask: how are these elements going to be positioned? Horizontally? Vertically? That’s the main ques...Discuss·2 likes·32 readsJetpack Compose