Skip to content

abbasalim/Android-Jetpack-Compose-Calculator-

Repository files navigation

Compose Calculator

Compose Calculator demonstrates Jetpack Compose and ViewModel.


Easy to Use:

 Calculator {Toast.makeText(context, it, Toast.LENGTH_SHORT).show() }

or

 Calculator (defValue = 55.0, roundResult = true){Toast.makeText(context, it, Toast.LENGTH_SHORT).show() }

add :

implementation 'com.github.abbasalim:Android-Jetpack-Compose-Calculator-:<lastVersion>'