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

Adapter used for showing menus in the side panel. More...

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

Public Member Functions

 NavigationDrawerMenuAdapter (Context context, LayoutInflater inflater)
 
int getCount ()
 
Section getItem (int position)
 
long getItemId (int position)
 
View getView (int position, View convertView, ViewGroup parent)
 

Private Attributes

final Section[] sections = Section.values()
 
final LayoutInflater inflater
 
final Context context
 
int currentSectionForegroundColor
 
int currentSectionBackgroundColor
 

Detailed Description

Adapter used for showing menus in the side panel.

Created by Abhishek on 21/04/15.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.NavigationDrawerMenuAdapter ( Context  context,
LayoutInflater  inflater 
)

Member Function Documentation

int org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.getCount ( )
Section org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.getItem ( int  position)
long org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.getItemId ( int  position)
View org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.getView ( int  position,
View  convertView,
ViewGroup  parent 
)

Member Data Documentation

final Context org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.context
private
int org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.currentSectionBackgroundColor
private
int org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.currentSectionForegroundColor
private
final LayoutInflater org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.inflater
private
final Section [] org.buildmlearn.toolkit.adapter.NavigationDrawerMenuAdapter.sections = Section.values()
private

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