CountryCodePicker

CountryCodePicker is an interface that provides the different utilities for the country code picker.

Properties

Link copied to clipboard
abstract val countryCode: String
Link copied to clipboard
abstract val countryList: List<Country>
Link copied to clipboard
abstract val phoneNumber: String
Link copied to clipboard
abstract val showCountryCode: Boolean
Link copied to clipboard
abstract val showCountryFlag: Boolean

Functions

Link copied to clipboard
abstract fun getCountryName(): String
Link copied to clipboard
abstract fun getCountryPhoneCode(): String
Link copied to clipboard
abstract fun getFullPhoneNumber(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun isPhoneNumberValid(phoneNumber: String = getFullPhoneNumber()): Boolean
Link copied to clipboard
abstract fun setCode(countryCode: String)
Link copied to clipboard
abstract fun setPhoneNo(phoneNumber: String)