Snippets | Tips | Tricks

Java , kotlin , java vs kotlin , extensions , snippets , kotlintips , kotlin tricks, java tips , java tricks

Collection of small snippets that would help you be productive or teaches you some quick tick|tip !



#27092020 | Typealias example

typealise | Kotlin

#27092020 | Operator overloading example

operator overloading | kotlin

#27092020 | Bulk null check in Kotlin

Bulk null check | Kotlin


#27092020 | Nullable Boolean Handling in Kotlin

null boolean handling | Kotlin

#27092020 | lateinit vs nullable types

lateinit vs nullable types | Kotlin
AndroidBites | Your Late to init | lateinit vs nullable
how kotlin null handle. how lateinit is better than nullable type. Nullable is not evil. nullable type vs lateinit. how to null handle in android. global variables .


#27092020 | In is also available for String.

in operator for strings | Koltin

#27092020 | Default functions over Fluent API

fluent api vs default parameters | Kotlin


#27092020 | Flatten if-else functions in Kotlin

flatten if and else | Kotlin

#27092020 | Static Factory functions in Kotlin

factory functions | kotlin


#27092020 | Chain function reference in Kotlin

Chain function reference | Kotlin

#27092020 | Builder Patter in Kotlin

Builder Pattern | Kotlin


#03092020 | Iterate Over Sealed Classes Names

Kotlin | sealed class iteration | print sealed class name

#23082020 | Join function | List to String Conversion

Snippets | List to String with Examples | Androidbites
kotlin string | kotlin variable in string | kotlin join strings with delimiter | kotlin map to string | kotlin string interpolation | kotlin string collection join | list to string and string to list kotlin | kotlin string format
Kotlin | Join to String | Collection to String-


#02082020 | Set functions : Union , Intersect and Subtract

AndroidBites | Union, Intersect, Subtract in Kotlin
kotlin difference between two lists | kotlin compare two lists | kotlin opposite of intersect| how to combine collection | how to find common in collection | how to Union | how to intersection | how to remove from list from another | how to merge two list | how to distinct a list
Kotlin | union intersect subtract 

#26072020 | Error Handling Extension in Kotlin

AndroidBites | Koltin | ErrorHandling
Best practice of error handling using kotlin try or null extension. kotlin try catch expression to handle error. Java error handling .Java vs Kotlin.
Koltin | try catch or null?-


Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.