public class Begin
extends Fragment
Login screen and the first screen the user interacts with as a part
of the application. The user is prompted to press the next button to start
the application. There is no functionality within this screen.| Modifier and Type | Field and Description |
|---|---|
(package private) SSCallback |
callback
The instance of the
SSCallback that allows this fragment to
communicate with the parent activity. |
(package private) boolean |
temp1
boolean value indicating what template this fragment is currently apart
of.
|
(package private) boolean |
temp3
boolean value indicating what template this fragment is currently apart
of.
|
| Constructor and Description |
|---|
Begin(int run)
The constructor saves what template type this Fragment is a part of.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAttach(Activity activity)
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
|
View |
onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)
This method is called by the system to inflate the layout for the Begin
screen.
|
SSCallback callback
SSCallback that allows this fragment to
communicate with the parent activity.boolean temp1
boolean temp3
public Begin(int run)
run - The integer representation of the corresponding Template the
Fragment is a part of.public void onAttach(Activity activity)
public View onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState)