ArhamTechMind

Building future while learning

Listview

2 min read

1. manisfests.xml <uses-permission android:name="android.permission.INTERNET"/> 2.mainActivity.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"    xmlns:tools="http://schemas.android.com/tools"    android:layout_width="match_parent"    android:layout_height="match_parent"    tools:context=".MainActivity">    <ProgressBar        android:id="@+id/progressBar"        style="?android:attr/progressBarStyleLarge"        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:layout_centerHorizontal="true"        android:layout_centerVertical="true"        android:visibility="invisible" />    <ListView        android:id="@+id/listView"       ...