#kotlintips ผลการค้นหา
💡 Kotlin Tip of the Day — runCatching A clean way to handle errors without noisy try/catch. ⚡️ Functional error handling ⚡️ Easy success/failure chaining ⚡️ Great for safe parsing & small ops #Kotlin #AndroidDev #KotlinTips #DevCommunity #CleanCode
🚀 Kotlin Tip of the Day Use Extension Functions to add new behavior to existing classes without modifying them. Clean, expressive & powerful Perfect for formatting, validations, conversions & more #Kotlin #KotlinTips #AndroidDev #CleanCode #JetpackCompose
🎯 Coroutine Cancellations en Kotlin es cooperativa, utiliza CancellationException y se integra perfectamente con la concurrencia estructurada. Mañana continuaremos con los Coroutines Timeouts 🚀 #Kotlin #KotlinTips #Coroutines #AsyncProgramming #StructuredConcurrency…
Mañana continuaremos con Cancelaciones en las Coroutines 🚀 #Kotlin #KotlinTips #Coroutines #AsyncProgramming #StructuredConcurrency #100DiasKotlin #buildinpublic
Want to make your Jetpack Compose UI truly yours? Custom Modifiers let you encapsulate reusable, complex UI behaviors with clean, readable code. Pro tip: chain them smartly to keep composables modular & maintainable! #JetpackCompose #AndroidDev #KotlinTips
🧠 Kotlin Tip of the Day Let’s take a common example scenario: 👉 Managing a user profile (validating data, initializing objects, and handling safe operations). #Kotlin #AndroidDev #KotlinTips #CleanCode #JetpackCompose #DevCommunity
Understanding recomposition in Jetpack Compose is 🔑 to building efficient UIs. Compose intelligently re-runs composable functions when state changes—only where needed. Master this, and your apps will be snappy & resource-friendly! #JetpackCompose #AndroidDev #KotlinTips
DSL = Domain-Specific Language ✨ A way of writing code that reads like natural language for a specific task. Example: Jetpack Compose is a UI DSL, LocalUser provides "Alice" is a DSL-friendly infix call. #JetpackCompose #KotlinTips
Is it legal to overload operators with bad dad jokes in Kotlin? Source: devhubby.com/thread/how-to-… #KotlinTips #DevCommunity #Kotlin #KotlinDev #kotlin #operator
Are Kotlin arrays the ninjas of programming, slipping from class to class undetected? 🤺🌀" Source: devhubby.com/thread/how-to-… #JetBrains #KotlinTips #DevCommunity #CodeNewbie #class #kotlin
I just published Kotlin Infix Functions: A Sweet Shortcut with a Sour Precedence Twist medium.com/p/kotlin-infix… #kotlin #AndroidDev #KotlinTips
Intent Flags Example: val intent = Intent(this, SecondActivity::class.java).apply { flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP } startActivity(intent) This clears anything above SecondActivity and reuses it! #KotlinTips #MobileDev
When defined inside a class, we can't skip the name while accessing it. However, this is not the case with the companion object. Companion object allows us to skip the name and access without using the name. #Kotlin #AndroidDev #KotlinTips #LearningJourney
Kotlin’s extension functions let you add new powers to existing classes without touching their code. It’s like teaching an old class new tricks—clean, smart, and super useful! 💡🚀 #Kotlin #AndroidDev #KotlinTips #AndroidDevelopment #CleanCode
How does Kotlin keep data from getting lost like socks in the laundry when moving pages? Source: devhubby.com/thread/how-to-… #KotlinNative #KotlinTips #MobileAppDevelopment #Kotlin #data #kotlin
#KotlinTips Use ‘trimIndent()’ or ‘trimMargin()’ to format multiline strings as regular code, with the correct indent.
#KotlinTips Null-safety is the bread and butter of Kotlin! Use the null-safe call to avoid if-null checks:
Kotlin filtering function - partition(): filters a collection by a predicate and keeps the elements that don't match it in a separate list. Share it if you learned something new. #Kotlin #KotlinTips #AndroidDev #Android
Learn Kotlin Collection Functions: associateBy Check the example. Learn and Share 🚀 #AndroidDev #Kotlin #KotlinTips #Developer #Android
If you need an array of primitives, like an array of ints, use a specific type like 'IntArray' rather then 'Array<Int>' #KotlinTips
Variables in Kotlin. #KotlinTips #kotlin #AndroidDeveloper #androdDev #Androiddev #Kotlin #AndroidDev #DEVCommunity #javascript #programming #WomenWhoCode #CodeNewbie #100DaysOfCode #100daysofcodechallenge #100DaysOfDesign #codingisfun #uiux #androiddeve #appsdev
Kotlin Collection Functions: all Check the example Learn and Share #AndroidDev #Kotlin #KotlinTips #Android #Developer
Convert an `if` expression into a `when` expression automatically by just hitting Alt+Enter on the `if`. #KotlinTips
#KotlinTips We prefer using default arguments instead of overloading. Default arguments in Kotlin remove nearly all use cases for method and constructor overloading.
Kotlin - Idiomatic way to remove duplicate strings from an array - distinct() - toSet() - toMutableSet() - toHashSet() Share it if you learned something new. #Kotlin #KotlinTips #AndroidDev
Use ‘trimIndent()’ or ‘trimMargin()’ to format multi-line strings as regular code, with the right indent #KotlinTips
Something went wrong.
Something went wrong.
United States Trends
- 1. Jalen 72.5K posts
- 2. Eagles 115K posts
- 3. Chargers 83.7K posts
- 4. Herbert 33K posts
- 5. AJ Brown 10K posts
- 6. #BoltUp 4,588 posts
- 7. #WWERaw 49.2K posts
- 8. Saquon 11.4K posts
- 9. Cam Hart 1,353 posts
- 10. Sirianni 5,599 posts
- 11. Patullo 6,974 posts
- 12. #PHIvsLAC 3,791 posts
- 13. Tony Jefferson 3,037 posts
- 14. 4 INTs 3,460 posts
- 15. LA Knight 10.4K posts
- 16. Piers 79.8K posts
- 17. Greg Roman 1,434 posts
- 18. Cameron Dicker 1,882 posts
- 19. Tanner McKee 1,622 posts
- 20. #Dragula N/A