Vrundesha Joshi has Published 289 Articles

How to pass data from one fragment to another fragment in android?

Vrundesha Joshi

Vrundesha Joshi

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

4K+ Views

This example demonstrate about How to pass data from one fragment to another fragment in androidStep 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 save an Android Activity state using save instance state?

Vrundesha Joshi

Vrundesha Joshi

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

777 Views

This example demonstrate about How to save an Android Activity state using save instance stateStep 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 do I declare a 2d array in C++ using new

Vrundesha Joshi

Vrundesha Joshi

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

335 Views

A dynamic 2D array is basically an array of pointers to arrays. Here is a diagram of a 2D array with dimenation 3 x 4.AlgorithmBegin    Declare dimension of the array.    Dynamic allocate 2D array a[][] using new.    Fill the array with the elements.    Print the array. ... Read More

How to update RecyclerView Adapter Data?

Vrundesha Joshi

Vrundesha Joshi

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

1K+ Views

This example demonstrate about How to update RecyclerView Adapter DataStep 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 ... Read More

How to connect to a MongoDB database using a JDBC program?

Vrundesha Joshi

Vrundesha Joshi

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

1K+ Views

MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.Before you start connecting MongoDB in you need to make sure that you have MongoDB JDBC driver. If not, download the jar from the path Download mongo.jar ... Read More

Print with your own font using Python?

Vrundesha Joshi

Vrundesha Joshi

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

435 Views

In this, we are going to see how differently we can display our text in a very unique way using python.So let suppose I want to display “Hello, Python” and out many ways I could display my text/string (“Hello, Python”) like:Input“Hello, Python”Output 1___ ___ .__ .__ / | \ ____ ... Read More

How to use GridLayoutManager in RecyclerView?

Vrundesha Joshi

Vrundesha Joshi

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

330 Views

This example demonstrate about How to use GridLayoutManager 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

XML parsing in Python?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

Python XML parser parser provides one of the easiest ways to read and extract useful information from the XML file. In this short tutorial we are going to see how we can parse XML file, modify and create XML documents using python ElementTree XML API.Python ElementTree API is one of ... Read More

How to use LocalBroadcastManager?

Vrundesha Joshi

Vrundesha Joshi

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

419 Views

This example demonstrate about How to use LocalBroadcastManagerStep 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 code, we have ... Read More

How to use context in a fragment?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

This example demonstrate about How to use context in a fragmentStep 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

Advertisements