Saturday, August 4, 2018

Playing with IO in Kotlin

August 04, 2018
Welcome to this post. Today I going to cover a very unusual topic. If this problem is matched with you then it will help you to save a lot of time. So let's start- Imagine you have a text file of some data and you want to format it and save the data into the JSON file. Example text file line: abbey - n. a monastery ruled by an abbot .... And you have so many lines in the text file. and your goal is separate, the word and type(part of speech) and description of the word. so the...
Read More

Saturday, July 14, 2018

Dart: Json Parsing

July 14, 2018
Welcome to this post. In this post, I am going to cover about JSON parsing in Dart. What I will do on this project?  1.  Get data from Rest API.  2.  Parse the JSON Data Let's Start- First, take look at the data source. I will get the data from this link. https://swapi.co/api/starships/ JSON sample. This response you will find that link { "count": 37, "next": "https://swapi.co/api/starships/?page=2", "previous": null, "results": [ { ...
Read More

Saturday, June 30, 2018

Searching Algorithms: Linear Search

June 30, 2018
welcome to this post. Today I am going to talk about Searching Algorithms. In this tutorial, I will cover 3 Searching Algorithms Linear Search Binary Search Interpolation Search So Let start with Linear Search Linear Search: From the name, you can get an idea. It searches linearly. One by one. This algorithm starts the search from the beginning and continues until finding the desired search index. For example, Assume an array from 0 to 10. and you are searching for10. so what will happen? First,...
Read More

Wednesday, June 20, 2018

Dart: Variable

June 20, 2018
Welcome to the series post. The is the first post about Dart From today I am starting Dart language tutorial. I already posted a brief introduction about dart and I also try to answer why you choose the dart programming. Check this Dart Introduction In the previous post, I write about some important concept about dart. Before starting I recommend for taking a look. Main method: First, see the code: void main(List<String> lists) { } In the code, you see that the parameter...
Read More

Friday, June 8, 2018

Communication between View and ViewModel

June 08, 2018
1*3Kr2-5HE0TLZ4eqq8UQCkQ
Welcome to this post. In this post, I am going to talk about, how to communicate between view and viewModel. Let's take a look on ViewModel ViewModel was introduced on Google I/O 17, a part of Lifecycle extensions. Now it's released version is 1.1.0. Src: Medium From the picture, you can see that it launch with the creation of activity. And it will be cleared only when the activity is finished....
Read More

Sunday, June 3, 2018

Dart: Introduction

June 03, 2018
dart-logo-for-shares
Welcome to this post. Recently I start to learn Dart programming language. From today, I will post about dart programming language. Src: Dartlang What is dart? Dart is an object-oriented programming language, developed by Google. It is used to build web, server, and mobile applications(Flutter). Before Learning darts, some important concept, we have to understand. Concepts: Everything...
Read More

Saturday, June 2, 2018

Kotlin Data Structure: Circular Queue

June 02, 2018
circular+queue
Welcome to this post. In this post, we are going to learn about the Circular queue. If you don't know the queue data structure, please check this post Queue. In the previous post of Queue, I discuss the problem about the queue. So today we learn about the circular queue. In queue, to data in the queue, the method is called enqueue()   and to get data from the queue, the...
Read More