public class TimeFragment
extends Fragment
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeFragment.TimeChangedListener
Used to communicate back to the parent fragment as the user
is changing the time spinners so we can dynamically update
the tab text.
|
| Constructor and Description |
|---|
TimeFragment() |
| Modifier and Type | Method and Description |
|---|---|
static TimeFragment |
newInstance(int theme,
int hour,
int minute,
boolean isClientSpecified24HourTime,
boolean is24HourTime)
Return an instance of TimeFragment with its bundle filled with the
constructor arguments.
|
void |
onCreate(android.os.Bundle savedInstanceState)
Cast the reference to
SlideDateTimeDialogFragment to a
TimeFragment.TimeChangedListener. |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
Create and return the user interface view for this fragment.
|
public void onCreate(android.os.Bundle savedInstanceState)
SlideDateTimeDialogFragment to a
TimeFragment.TimeChangedListener.public static final TimeFragment newInstance(int theme, int hour, int minute, boolean isClientSpecified24HourTime, boolean is24HourTime)
theme - hour - minute - isClientSpecified24HourTime - is24HourTime - public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)