vnorderui / com.venuenext.vnorderui.experience / DateMetadataFragment

DateMetadataFragment

class DateMetadataFragment : Fragment, OnDateSetListener, InputValidatable, OnClickListener, TextWatcher, OnTouchListener

Types

Builder

class Builder

Constructors

<init>

DateMetadataFragment()

Properties

continueButtonText

var continueButtonText: String?

dateFieldHint

var dateFieldHint: String?

delegate

var delegate: MetadataManagerDelegate?

errorText

var errorText: String?

invalidAfterDate

var invalidAfterDate: Date?

invalidBeforeDate

var invalidBeforeDate: Date?

stringInvalidAfterDate

var stringInvalidAfterDate: String?

stringInvalidBeforeDate

var stringInvalidBeforeDate: String?

Functions

afterTextChanged

fun afterTextChanged(s: Editable?): Unit

beforeTextChanged

fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int): Unit

onClick

fun onClick(v: View?): Unit

onCreateView

fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?

onDateSet

fun onDateSet(view: DatePicker?, year: Int, month: Int, dayOfMonth: Int): Unit

onResume

fun onResume(): Unit

onTextChanged

fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int): Unit

onTouch

fun onTouch(v: View?, event: MotionEvent?): Boolean

onViewCreated

fun onViewCreated(view: View, savedInstanceState: Bundle?): Unit

validateInput

fun validateInput(): Boolean

Companion Object Properties

DATE_FORMAT

const val DATE_FORMAT: String