public class PreviewDataBinder
extends <any>
| Constructor and Description |
|---|
PreviewDataBinder(android.view.ViewGroup parent,
<any> contentViewRecycler)
Creates a new data binder, which allows to asynchronously render preview images of tabs and
display them afterwards.
|
| Modifier and Type | Method and Description |
|---|---|
protected android.graphics.Bitmap |
doInBackground(Tab key,
TabItem... params) |
protected void |
onPostExecute(android.widget.ImageView view,
android.graphics.Bitmap data,
TabItem... params) |
protected void |
onPreExecute(android.widget.ImageView view,
TabItem... params) |
public PreviewDataBinder(android.view.ViewGroup parent,
<any> contentViewRecycler)
parent - The parent view of the tab switcher, the tabs belong to, as an instance of the class
ViewGroup. The parent may not be nullcontentViewRecycler - The view recycler, which should be used to inflate the views, which are associated
with tabs, as an instance of the class ViewRecycler. The view recycler may not be
null