I'm working with this AlhabetScroller on GitHub
https://github.com/brightec/AlphabetScroller/blob/master/src/uk/co/brightec/alphabetscroller/AlphabetListAdapter.java
There is the file list_alphabet.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ListView
android:id="@android:id/list"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:fastScrollEnabled="true" />
<LinearLayout
android:id="@+id/sideIndex"
android:layout_width="40dip"
android:layout_height="fill_parent"
android:background="#FFF"
android:gravity="center_horizontal"
android:orientation="vertical" >
</LinearLayout>
</LinearLayout>
My question concerns this line:
android:id="@android:id/list"
Typically, I do something like this:
android:id="@+id/my_list"
As he does with sideIndex. Instead, he uses what appears to use something that already exists in the Android code.
What is the purpose of this? Why do this instead of how I usually do?
Edit:
Thanks to Lalit Poptani. This question is indeed a duplicate.