Nitya Raut has Published 221 Articles

C++ Program to Implement Sorted Circularly Singly Linked List

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

551 Views

In data structure, Linked List is a linear collection of data elements. Each element or node of a list is comprising of two items - the data and a reference to the next node. The last node has a reference to null. Into a linked list the entry point is ... Read More

How to add dividers and spaces between items in RecyclerView?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

3K+ Views

This example demonstrate about How to add dividers and spaces between items in RecyclerViewStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

How to use checktextview in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

641 Views

Before getting into the example, we should know what checktextview in android is. Check textview is expanded by textview and contains checkable interface. Using Checktextview we can find that, whether a user is clicked on textview or not.This example demonstrate about How to use checktextview in android.Step 1 − Create ... Read More

How to add list in alert dialog?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

1K+ Views

This example demonstrate about how to add list in alert dialogStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above ... Read More

How to use pie chart graph in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

3K+ Views

This example demonstrate about How to use pie chart graph in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Open build.gradle(module level) and add library dependency.apply plugin: 'com.android.application' android { ... Read More

Replace substring with another substring C++

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

Here we will see how to replace substring with another substring. It replaces the portion of the string that begins at character pos and spans len characters.The structure of the replace function is like below:string& replace (size_t pos,  size_t len,  const string& str,  size_t subpos,  size_t sublen);The parameters are pos: It is an insertion point, str : It ... Read More

How to use Line chart graph in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

3K+ Views

This example demonstrate about How to use Line chart graph in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Open build.gradle(module level) and add library dependency.apply plugin: 'com.android.application' android { ... Read More

How to create firebase account for android application?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

175 Views

This example demonstrate about How to create firebase account for android applicationRegister with firebase account using https://firebase.google.com/Click on Sign in button, it will ask gmail user name and pass word as shown below –Give proper user name and pass word. After successful login process, it will redirect to main page ... Read More

How to use Scatter chart graph in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

653 Views

This example demonstrate about How to use Scatter chart graph in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Open build.gradle(module level) and add library dependency.apply plugin: 'com.android.application' android { ... Read More

C++ Program to Implement Stack

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

11K+ Views

In this program we will see how to implement stack using C++. A stack is an abstract data structure that contains a collection of elements. Stack implements the LIFO mechanism i.e. the element that is pushed at the end is popped out first. Some of the principle operations in the ... Read More

Advertisements