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

Friday, June 23, 2017

Android: Job Scheduler schedule you job

June 23, 2017
android
Welcome to the android tutorial. Android In this post, we talk about JobSchedular. A job scheduler is more effective than alarm manager. Want to see it benefits then check out this link. For scheduling, you have many options to use. 1. Android Alarm manager 2. Job Scheduler 3. Gcm Network Manager In the previous post, we talk about android alarm manager. Are you confused about those?...
Read More

Tuesday, June 20, 2017

Kotlin: Array and Loop

June 20, 2017
kotlin
Welcome to kotlin Series Kotlin Series In this post, we are going to learn about Array. The array is really helpful for saving the collection of data. Let's start- we declare a variable and name arrays and assign with Array. val arrays = Array(5) { 0 } Now currently our arrays variable has only one index and index position is 0 now add some other index and also print an index for checking. val...
Read More

Friday, June 16, 2017

Android: Alarm Manger with broadcast receiver

June 16, 2017
Welcome to this post. In this post, we are going to learn about Alarm manager and BroadCast Receiver. As usual before start please check official documentation. 1.Alarm Manager official documentation 2.BroadCast Receiver official documentation Alarm manager is used for scheduling task. If you want to do a task after some time intervals or if want to do some task at 11 am. of the daytime, you have to use alarm manager. Because there is a possibility that user is not using this app at that particular...
Read More