I have a list of teachers that i need users of my app to be able to see. All of the tutorials on how to use a SQL database were teaching how to add entries and other things that i don't need to know how to do right now. All i need is for me to be able to add people into the database who's info will not be changed and display it in a scrollable list that where users can pick out a name and tap on it and open a new activity with more info
for example:
lastname, firstname lastname, firstname lastname, firstname
and when one of those is pressed on:
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lastname, Firstname"
android:id="@+id/textView"
android:textSize="28dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="EXT: 1234"
android:id="@+id/textView2"
android:phoneNumber="false"
android:textSize="24dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Email: lastname.firstname@domain.com"
android:id="@+id/textView3"
android:textSize="20dp" />
</LinearLayout>
How can i do this? Do i even need to use a database?