public class DateFragment
extends Fragment
CustomDatePicker.| Modifier and Type | Class and Description |
|---|---|
static interface |
DateFragment.DateChangedListener
Used to communicate back to the parent fragment as the user
is changing the date spinners so we can dynamically update
the tab text.
|
| Constructor and Description |
|---|
DateFragment() |
| Modifier and Type | Method and Description |
|---|---|
static DateFragment |
newInstance(int theme,
int year,
int month,
int day,
java.util.Date minDate,
java.util.Date maxDate)
Return an instance of DateFragment with its bundle filled with the
constructor arguments.
|
void |
onCreate(android.os.Bundle savedInstanceState)
Cast the reference to
SlideDateTimeDialogFragment
to a DateFragment.DateChangedListener. |
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 DateFragment.DateChangedListener.public static final DateFragment newInstance(int theme, int year, int month, int day, java.util.Date minDate, java.util.Date maxDate)
#onCreateView() below to properly initialize the DatePicker.theme - year - month - day - minDate - maxDate - public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)