The constructor for BrowseAdapter calls the parent constructor (see ArrayAdapter.java lines 154-164). The parent constructor creates a list of items (see lines 175-182).
Items are added to the adapter which adds them to the list (MediaBrowserFragment lines 119-121). getItem(int position) then returns the item in the list (see 343-345).