Build a India COVID-19 Cases Tracker Android App By City and State in Java & XML Using Volley and COVID19India API in Android Studio Full Project For Beginners

 

 

colors.xml

 

 

 

 

build.gradle

 

 

 

 

And also we need to add the internet permission to get data from the api

 

 

 

XML Code

 

 

activity_main.xml

 

 

 

 

testing.xml

 

 

 

 

Java Code

 

 

Model.java

 

 

 

 

Step 7: Create an Adapter Class

Now create a new JAVA Adapter Class to put the data that have fetched into a ListView that has created before.

 

 

 

 

MainActivity.java

 

 

 

Leave a Reply