This repository contains Android project which is developed for the #30DaysOfKotlin with Google Developers (Initiative to improve your understanding of Kotlin and apply it in real projects). Know more about it here.
- Kotlin Calsee: This is just for fun! :) This is just a sample calculator app which is built with Kotlin 🦸 superpower and Modern Android development tools!
Kotlin
- First class and official programming language for Android development.Fragment
- A fragment is a small piece that's come off a larger whole, and to fragment is to breakViewModel
- The ViewModel class is designed to store and manage the UI-related data. In this app, each ViewModel is associated with one fragment.LiveData
- LiveData is an observable data holder class that is lifecycle-aware. LiveData is observable, which means that an observer is notified when the data held by the LiveData object changes.Binding
- It’s a library which allows you to bind the data of your models directly to the xml views in a very flexible way.Layout
- A layout defines the structure for a user interface in your app, such as in an activity. All elements in the layout are built using a hierarchy of View and ViewGroup objects. A View usually draws something the user can see and interact with.Activity
- An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View).
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Android Studio 3.2+
- Java JDK
Follow these steps if you want to get a local copy of the project on your machine.
git https://github.com/TheAlphamerc/Kotlin_Calsee
- In Android Studio, go to File -> New -> Import project
- Follew the dialog wizard to choose the folder where you cloned the project and click on open.
- Android Studio imports the projects and builds it for you
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Thanks to
Android Kotlin Fundementals
- For awesome Codelabs on using Kotlin to build Android apps using best practices