Day 1 : Kotlin Basic Setup and Toast

by Start Bootstrap

Posted on Feb 20, 2019

Choose "Kotlin"  as the development language and create a Blank Activity which gives you basic Project Setup. Among it, the below are the only required items in for the Home Activity

override fun onCreate(savedInstanceState: Bundle?) {

And adding a function is as easy like 

private fun callMe() {
// Function called

Pretty much javascript :p 

And toast like this

import android.widget.Toast
Toast.makeText(this@YourActivity, "Hello there", Toast.LENGTH_SHORT).show();


That's it ! 

Side Widget
You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!