IT. Expert System.

Android Reference

DatePickerDialog


android.app

Class DatePickerDialog

    • Constructor Detail

      • DatePickerDialog

        public DatePickerDialog(Context context,
                        DatePickerDialog.OnDateSetListener callBack,
                        int year,
                        int monthOfYear,
                        int dayOfMonth)
        Parameters:
        context - The context the dialog is to run in.
        callBack - How the parent is notified that the date is set.
        year - The initial year of the dialog.
        monthOfYear - The initial month of the dialog.
        dayOfMonth - The initial day of the dialog.
      • DatePickerDialog

        public DatePickerDialog(Context context,
                        int theme,
                        DatePickerDialog.OnDateSetListener callBack,
                        int year,
                        int monthOfYear,
                        int dayOfMonth)
        Parameters:
        context - The context the dialog is to run in.
        theme - the theme to apply to this dialog
        callBack - How the parent is notified that the date is set.
        year - The initial year of the dialog.
        monthOfYear - The initial month of the dialog.
        dayOfMonth - The initial day of the dialog.
    • Method Detail

      • getDatePicker

        public DatePicker getDatePicker()
        Gets the DatePicker contained in this dialog.
        Returns:
        The calendar view.
      • updateDate

        public void updateDate(int year,
                      int monthOfYear,
                      int dayOfMonth)
        Sets the current date.
        Parameters:
        year - The date year.
        monthOfYear - The date month.
        dayOfMonth - The date day of month.
      • onStop

        protected void onStop()
        Description copied from class: Dialog
        Called to tell you that you're stopping.
        Overrides:
        onStop in class Dialog
      • onSaveInstanceState

        public Bundle onSaveInstanceState()
        Description copied from class: Dialog
        Saves the state of the dialog into a bundle. The default implementation saves the state of its view hierarchy, so you'll likely want to call through to super if you override this to save additional state.
        Overrides:
        onSaveInstanceState in class Dialog
        Returns:
        A bundle with the state of the dialog.
      • onRestoreInstanceState

        public void onRestoreInstanceState(Bundle savedInstanceState)
        Description copied from class: Dialog
        Restore the state of the dialog from a previously saved bundle. The default implementation restores the state of the dialog's view hierarchy that was saved in the default implementation of Dialog.onSaveInstanceState(), so be sure to call through to super when overriding unless you want to do all restoring of state yourself.
        Overrides:
        onRestoreInstanceState in class Dialog
        Parameters:
        savedInstanceState - The state of the dialog previously saved by Dialog.onSaveInstanceState().


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2504 / . Delta: 0.02613 с