1/25
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
List Controls
These are type of components that can display multiple values or a collection of data.
Spinner
It displays only one item but let the user choose among several items
ScrollView
It enables users to scroll a list of views occupy more space than the physical display
ListView
A built-in Android View that displays items in a vertical list.
GridView
It shows its child in a table form, the table is scrollable and we can set the number of column to show.
Gallery
It shows item in a horizontally scrolling way.
RecyclerView
[Blank] makes it easy to efficiently display large sets of data. You supply the data and define each item looks, and the [Blank] library dynamically creates the elements they’re needed.
RecyclerView.ViewHolder
You define the RecyclerView view holder by extending [blank]
RecyclerView.Adapter
You define the RecyclerView adapter by extending [blank]
LayoutManager
The items in RecyclerView are arranged by a [blank] class
LinearLayoutManager
[blank] arranges the items in one dimensional list.
GridlayoutManager
[blank] arranges all items in a two-dimensional grid
Vertically
In a grid layout, If the grid is arranged [blank], all elements in each row has the same height and width but different rows have different heights
Horizontally
In a grid layout, If the grid is arranged [blank], all elements in each column has the same height and width but different columns can have different widths
StaggeredGridLayoutManager
[blank] is similar to GridLayoutManager but items in a row or column may be offset from each other
Adapter
The [blank] is an interface whose implementations is to manage the data and to provide the appropriate child view according to the data that has to be displayed.
AdapterView
Can be used to display large set of data efficiently in form of List or Grid etc., provided to it by an adapter.
ViewGroup
In a adpter, the AdapterView extends [blank’ so they both extend indirectly View class.
ArrayAdapter
Adapter with everything implemented for you, just pass in an array.
SimpleAdapter
Adapter that uses data stores in XML resources to build the list
CursorAdapter
An adapter that uses information stored in a SQLite database
getCount()
An adapter method, that returns number of items to be displayed
getItem(index)
An adapter method, that returns item on position index
getItemId(index)
An adapter method, that returns item Id on position index
getView(index)
An adapter method, that creates and populate a View from position index
BaseAdapter
This is the parent adapter for the rest of the Adapters.