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

Fragment for the users to match column A with column B in match template's simulator. More...

Inheritance diagram for org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment:
Inheritance graph
[legend]
Collaboration diagram for org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment:
Collaboration graph
[legend]

Public Member Functions

void onSaveInstanceState (Bundle outState)
 
void onCreate (Bundle savedInstanceState)
 
View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 
void onDestroyView ()
 

Static Public Member Functions

static Fragment newInstance ()
 

Private Member Functions

void handleListViewListeners ()
 
void handleButtonListener (View rootView)
 
void highlightListA (int position, View view)
 
void highlightListB (int position, View view)
 

Private Attributes

MatchArrayAdapter_A matchListAdapterA
 
MatchArrayAdapter_B matchListAdapterB
 
int mPositionA = ListView.INVALID_POSITION
 
int mPositionB = ListView.INVALID_POSITION
 
ListView listViewA
 
ListView listViewB
 
ArrayList< MatchModelmatchListA
 
ArrayList< MatchModelmatchListB
 
MatchDb db
 
int selectedPositionA = -1
 
int selectedPositionB = -1
 
View selectedViewA
 
View selectedViewB
 
View clickSourceA
 

Static Private Attributes

static final String SELECTED_KEY_A = "selected_position_a"
 
static final String SELECTED_KEY_B = "selected_position_b"
 

Detailed Description

Fragment for the users to match column A with column B in match template's simulator.

Created by Anupam (opticod) on 24/7/16.

Member Function Documentation

void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.handleButtonListener ( View  rootView)
private
void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.handleListViewListeners ( )
private
void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.highlightListA ( int  position,
View  view 
)
private
void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.highlightListB ( int  position,
View  view 
)
private
static Fragment org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.newInstance ( )
static
void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.onCreate ( Bundle  savedInstanceState)
View org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.onCreateView ( LayoutInflater  inflater,
ViewGroup  container,
Bundle  savedInstanceState 
)
void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.onDestroyView ( )
void org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.onSaveInstanceState ( Bundle  outState)

Member Data Documentation

View org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.clickSourceA
private
MatchDb org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.db
private
ListView org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.listViewA
private
ListView org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.listViewB
private
ArrayList<MatchModel> org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.matchListA
private
MatchArrayAdapter_A org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.matchListAdapterA
private
MatchArrayAdapter_B org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.matchListAdapterB
private
ArrayList<MatchModel> org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.matchListB
private
int org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.mPositionA = ListView.INVALID_POSITION
private
int org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.mPositionB = ListView.INVALID_POSITION
private
final String org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.SELECTED_KEY_A = "selected_position_a"
staticprivate
final String org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.SELECTED_KEY_B = "selected_position_b"
staticprivate
int org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.selectedPositionA = -1
private
int org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.selectedPositionB = -1
private
View org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.selectedViewA
private
View org.buildmlearn.toolkit.matchtemplate.fragment.MainFragment.selectedViewB
private

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