Wednesday, August 16, 2017

Kotlin ArrayList

August 16, 2017
kotlin
Welcome to kotlin Series In this post, we are going to learn about ArrayList. In android the use of ArrayList is huge. So let's move on today task list. 1. we create an ArrayList 2. insert some value 3. update some value 4. search in ArrayList 5. delete some value Let's start: Note: we discuss array and loop in this post Kotlin: Array and Loop. you can take a look at this post of...
Read More

Tuesday, August 15, 2017

Kotlin: File reader and writer

August 15, 2017
kotlin
Welcome to kotlin Series In this post, we are going to learn about kotlin IO (input or output) we basically learn about file reader and writer. In this post, we are going to write a program that takes text from the console and save it on computer hard disk as a text file. Let start- First, we are going to create a method for saving file, method name writeToFile Follow those step: 1....
Read More

Saturday, August 12, 2017

Android studio: share code on Github and add SSH key to you Git

August 12, 2017
share+git+android+studio
Welcome to this post. In this post, we are going to discuss how to share code on Git from Android Studio. (I don't want to describe what is GitHub or why you need to use git. I just want to show you the process only) Let's jump in. Before share, you need to create a GitHub account click here for GitHub account. After creating a GitHub account, you can now share your code into GitHub. Open android...
Read More

Saturday, July 15, 2017

Kotlin OOP: method overriding

July 15, 2017
kotlin
Welcome to kotlin Series Kotlin OOP series: OOP Basic Constructor Inheritance Method Overriding This is the fourth post in this Kotlin OOP series. In this series, we are going to cover a very important topic that is method overriding. This uses in the android app development is huge. First, we create two classes and we use one class method for other class. But we already know it how...
Read More

Friday, July 14, 2017

Kotlin OOP: Inheritance

July 14, 2017
kotlin
Welcome to kotlin Series Kotlin OOP series: OOP Basic Constructor Inheritance Method Overriding This is the third post about Kotlin OOP. In this post, we are going to cover Kotlin Inheritance. Let's start- First, create a class named Math. This class contains two function name add and sub. add method -> take two integers and return the addition result of that two integers. sub method...
Read More

Kotlin OOP : Constructor

July 14, 2017
kotlin
Welcome to kotlin Series Kotlin OOP series: OOP Basic Constructor Inheritance Method Overriding This is the second post about Kotlin OOP Concept. In the previous post,  Kotlin OOP: Basic we talk about a basic opp concept. In this post, we are going to litter deeper. Let's start- From the previous post, we create an Apple class like previous. let do this- private class Apple(color:String,shape:String){ ...
Read More

Kotlin OOP: Basic

July 14, 2017
kotlin
Welcome to kotlin Series Kotlin OOP series: OOP Basic Constructor Inheritance Method Overriding In this post, we are going to cover object-oriented programming concept with kotlin. In kotlin, all the item is an object. So we are going to create an object name apple. and it has two properties color and shape. Let's create an Apple object class- private class Apple(color:String,shape:String){ } now...
Read More