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.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
org.buildmlearn.toolkit.adapter.TemplateAdapter Class Reference

Adapter used for showing Templates available in the toolkit. More...

Inheritance diagram for org.buildmlearn.toolkit.adapter.TemplateAdapter:
Inheritance graph
[legend]
Collaboration diagram for org.buildmlearn.toolkit.adapter.TemplateAdapter:
Collaboration graph
[legend]

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
 

Detailed Description

Adapter used for showing Templates available in the toolkit.

Created by Abhishek on 23-05-2015.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.adapter.TemplateAdapter.TemplateAdapter ( Context  context)

Member Function Documentation

static boolean org.buildmlearn.toolkit.adapter.TemplateAdapter.cancelPotentialWork ( int  data,
ImageView  imageView 
)
static
static BitmapWorkerTask org.buildmlearn.toolkit.adapter.TemplateAdapter.getBitmapWorkerTask ( ImageView  imageView)
staticprivate
Template org.buildmlearn.toolkit.adapter.TemplateAdapter.getItem ( int  i)
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)

Member Data Documentation

final ListColor [] org.buildmlearn.toolkit.adapter.TemplateAdapter.colors = ListColor.values()
private
final Context org.buildmlearn.toolkit.adapter.TemplateAdapter.context
private
ViewHolder.SetOnClickListener org.buildmlearn.toolkit.adapter.TemplateAdapter.listener
private
final Template [] org.buildmlearn.toolkit.adapter.TemplateAdapter.templates = Template.values()
private

The documentation for this class was generated from the following file: