Artificial Intelligence Programming Lab(AIPLab) 討論區

程式語言摘要 => Java => Android => 主題作者是: admin 於 六月 04, 2017, 11:58:28 am



主題: <<RecyclerView>>
作者: admin六月 04, 2017, 11:58:28 am
Adapter: A subclass of RecyclerView.Adapter responsible for providing views that represent items in a data set.
  • Position: The position of a data item within an Adapter.
    Index: The index of an attached child view as used in a call to getChildAt(int). Contrast with Position.
    Binding: The process of preparing a child view to display data corresponding to a position within the adapter.
    Recycle (view): A view previously used to display data for a specific adapter position may be placed in a cache.
    Scrap (view): A child view that has entered into a temporarily detached state during layout.
    Dirty (view): A child view that must be rebound by the adapter before being displayed.