BuildmLearn-Toolkit-Android
2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
|
Adapter used for showing Templates available in the toolkit. More...
Classes | |
class | AsyncDrawable |
class | BitmapWorkerTask |
enum | ListColor |
interface | SetOnClickListener |
class | ViewHolder |
Public Member Functions | |
TemplateAdapter (Context context) | |
void | setOnClickListener (ViewHolder.SetOnClickListener clickListener) |
RecyclerView.ViewHolder | onCreateViewHolder (ViewGroup viewGroup, int position) |
void | onBindViewHolder (RecyclerView.ViewHolder viewHolder, int position) |
int | getItemCount () |
long | getItemId (int i) |
int | getItemViewType (int position) |
Static Public Member Functions | |
static boolean | cancelPotentialWork (int data, ImageView imageView) |
Private Member Functions | |
Template | getItem (int i) |
Static Private Member Functions | |
static BitmapWorkerTask | getBitmapWorkerTask (ImageView imageView) |
Private Attributes | |
final Context | context |
final Template[] | templates = Template.values() |
final ListColor[] | colors = ListColor.values() |
ViewHolder.SetOnClickListener | listener |
Adapter used for showing Templates available in the toolkit.
Created by Abhishek on 23-05-2015.
org.buildmlearn.toolkit.adapter.TemplateAdapter.TemplateAdapter | ( | Context | context | ) |
|
static |
|
staticprivate |
|
private |
int org.buildmlearn.toolkit.adapter.TemplateAdapter.getItemCount | ( | ) |
long org.buildmlearn.toolkit.adapter.TemplateAdapter.getItemId | ( | int | i | ) |
int org.buildmlearn.toolkit.adapter.TemplateAdapter.getItemViewType | ( | int | position | ) |
void org.buildmlearn.toolkit.adapter.TemplateAdapter.onBindViewHolder | ( | RecyclerView.ViewHolder | viewHolder, |
int | position | ||
) |
RecyclerView.ViewHolder org.buildmlearn.toolkit.adapter.TemplateAdapter.onCreateViewHolder | ( | ViewGroup | viewGroup, |
int | position | ||
) |
void org.buildmlearn.toolkit.adapter.TemplateAdapter.setOnClickListener | ( | ViewHolder.SetOnClickListener | clickListener | ) |
|
private |
|
private |
|
private |
|
private |