MobColl
 All Classes Functions
Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
com.mobcoll.bitirmeandroid.ProfilePage Class Reference
Inheritance diagram for com.mobcoll.bitirmeandroid.ProfilePage:

Public Member Functions

boolean onCreateOptionsMenu (Menu menu)
 
boolean onOptionsItemSelected (MenuItem item)
 
void onActivityResult (int requestCode, int resultCode, Intent intent)
 

Static Public Attributes

static final String CLASS_NAME = "com.mobcoll.bitirmeandroid.ProfilePage"
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 
void onResume ()
 

Private Member Functions

void initInterface ()
 
void getProfileInfo ()
 
void updatePageContent (JSONObject albumsJs)
 

Private Attributes

ListView _listView
 
Button _addCategory
 
Button _firstType
 
Button _thirdType
 
Button _searchButton
 
TextView _secondType
 
EditText _categoryName
 
ArrayList< AlbumRecord_currentAlbums
 
ArrayList< String > _categories
 
String _currentCategory
 
boolean _willErase
 

Detailed Description

Profile Page of the user

Member Function Documentation

void com.mobcoll.bitirmeandroid.ProfilePage.getProfileInfo ( )
inlineprivate

This function creates the profile page of the user and show the "All Albums" section of the user.

void com.mobcoll.bitirmeandroid.ProfilePage.initInterface ( )
inlineprivate

Going to search page, changing user album categories, adding new categories, adding albums to categories, deleting albums from categories and going to album page is handled by this function.

void com.mobcoll.bitirmeandroid.ProfilePage.onActivityResult ( int  requestCode,
int  resultCode,
Intent  intent 
)
inline

Handles barcode reading

void com.mobcoll.bitirmeandroid.ProfilePage.onCreate ( Bundle  savedInstanceState)
inlineprotected

Class members are initialized in this function.

boolean com.mobcoll.bitirmeandroid.ProfilePage.onCreateOptionsMenu ( Menu  menu)
inline

Handles profile menu

boolean com.mobcoll.bitirmeandroid.ProfilePage.onOptionsItemSelected ( MenuItem  item)
inline

Handles item selection

void com.mobcoll.bitirmeandroid.ProfilePage.onResume ( )
inlineprotected

Handles category pass

void com.mobcoll.bitirmeandroid.ProfilePage.updatePageContent ( JSONObject  albumsJs)
inlineprivate

This function fills the albums in a category desired to seen by user. This is a helper function and called multiple times.

Parameters
albumsJs

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