Sign in

Web | Android | Senior Software Engineer @QuixelTools

The Calculator UI



Using AdapterList





Infix Notation

Remove brackets & dots!

class Car {
fun drive(miles: Int) {
...
}
}
val car = Car()
car.drive(10) // normal stuff
class Car {
infix fun drive(miles: Int) {
...
}
}
val car = Car()
car drive 10 // no brackets! no dots!

Extension Methods

Add new functions to any…


A Real World Example



implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'

Starting Layout

Ahmed Rizwan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store