You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
adapter = new TimelineApdater(this,cursor); //
listTimeline.setAdapter(adapter); //
And TimelineAdapter#bindView(View row,Conext context, Cursor cursor) is where the actual binding of a cursor to view happens.
The question is:
Cursor is the set of result containing many tuples. And in bindView() method, row view should be view of just one tuple. How one tuple binds to one row? Does it create many rows? How are the rows binded to the listTimeline?
Create a wiki page
Find materials for android UI design
common components(packages and classes)
best practice
Create a wiki page
The text was updated successfully, but these errors were encountered:
Study Adapter Pattern
In
TimelineActivity#onResume()
, we useAnd
TimelineAdapter#bindView(View row,Conext context, Cursor cursor)
is where the actual binding of a cursor to view happens.The question is:
Cursor is the set of result containing many tuples. And in
bindView()
method,row
view should be view of just one tuple. How one tuple binds to one row? Does it create many rows? How are the rows binded to thelistTimeline
?Find materials for android UI design
The text was updated successfully, but these errors were encountered: