Inline Functions In Kotlin Explained | by Michal Ankiersztajn | Feb, 2024
Inlining functions causes the compiler to produce code at call sites instead of producing the function itself. It’s beneficial when you’re using lambdas in your code. It might be a little hard to understand at the moment; look at the example below: Let’s look at…
Kotlin under the hood: How inline functions work | by Max Sidorov | Nov, 2023
I conduct a lot of technical interviews and see that many developers do not understand the benefits of using inline functions . Why is crossinline needed and how reified works. Part of the source of common misconceptions about inline functions is that there used to…
Calling Cloud Functions v2 From Your App
Cloud Functions for Firebase is a tool that lets you run code automatically on a server without managing it, when certain things happen in Firebase or when someone sends a request through the web. Photo by Annie Spratt on Unsplash In this tutorial we’ll be…
Compose a Compose Button by composing Composable functions | by André Oriani | Sep, 2023
Let’s create a Compose Button from scratch and apply Separation of Concerns. Design Language Systems are becoming an increasing trend among Mobile designers. Your lovely designer follows such a trend and provides you with the below specifications for buttons. They are not really Material buttons….
Efficient Flow Management, High-Order Functions, Jetpack Compose, Circular Progress Indicator, Kotlin, and more! | by Shahla Aliyeva | Aug, 2023
Just as always, we are reachable via firstname.lastname@example.org. We look forward to reading your feedback, article submissions, and partnership ideas. Follow us on Facebook and Twitter, and see you soon! Cheers, ProAndroidDev Team Sergii Zhuk . Greg Fawson . Andy Dyer . Brian Gardner ….
Igniting High-Order Thinking: Empowering Code with High-Order Functions | by Stephen Siapno | Aug, 2023
FUN [CTIONAL] PROGRAMMING SERIES Unlocking Code Potential: Embracing High-Order Functions for Creative Thinking Photo by Simon Berger on Unsplash Have you ever wondered why we call it a “High-Order Function” in programming? The name sounds fancy, but there’s a reason behind it. To understand, let’s…
Format functions to multiple lines in Xcode 15
Xcode 15 introduced a nice shortcut that converts functions with many parameters on a single line to a function that has any parameter on its own line. Usage The below function can be hard to read since all the arguments are on the same line….
- Mobile App Development (625)