TMPrePurchaseDropDown

A PopupWindow for displaying a country dropdown menu in the prepurchase flow.

Parameters

context

The Context for inflating the layout and accessing resources.

listener

The TMPrePurchaseDropDownClickListener for handling menu events.

Constructors

Link copied to clipboard
constructor(context: Context, listener: TMPrePurchaseDropDownClickListener?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun dismiss()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getContentView(): View
Link copied to clipboard
open fun getElevation(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getHeight(): Int
Link copied to clipboard
Link copied to clipboard
open fun getMaxAvailableHeight(p0: View, p1: Int): Int
open fun getMaxAvailableHeight(p0: View, p1: Int, p2: Boolean): Int
Link copied to clipboard
Link copied to clipboard
open fun getSoftInputMode(): Int
Link copied to clipboard
open fun getWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isShowing(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isTouchable(): Boolean
Link copied to clipboard
open fun isTouchModal(): Boolean
Link copied to clipboard
fun onDestroy()

Cleans up resources and clears the listener.

Link copied to clipboard
fun onMarketUpdate(newMarket: TMMarketDomain)

Updates the selected market in the dropdown menu.

Link copied to clipboard
open fun setAnimationStyle(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setContentView(p0: View)
Link copied to clipboard
open fun setElevation(p0: Float)
Link copied to clipboard
Link copied to clipboard
open fun setEpicenterBounds(p0: Rect?)
Link copied to clipboard
Link copied to clipboard
open fun setFocusable(p0: Boolean)
Link copied to clipboard
open fun setHeight(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setInputMethodMode(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setSoftInputMode(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setTouchable(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setTouchModal(p0: Boolean)
Link copied to clipboard
open fun setWidth(p0: Int)
Link copied to clipboard
open fun setWindowLayoutMode(p0: Int, p1: Int)
Link copied to clipboard
open fun setWindowLayoutType(p0: Int)
Link copied to clipboard
fun show(anchor: View)

Shows the dropdown menu at a specified location relative to an anchor view.

Link copied to clipboard
open fun showAsDropDown(p0: View)
open fun showAsDropDown(p0: View, p1: Int, p2: Int)
open fun showAsDropDown(p0: View, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun showAtLocation(p0: View, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
fun showDropDown(anchor: View)

Shows the dropdown menu above or below an anchor view based on scroll state.

Link copied to clipboard
open fun update()
open fun update(p0: Int, p1: Int)
open fun update(p0: View, p1: Int, p2: Int)
open fun update(p0: Int, p1: Int, p2: Int, p3: Int)
open fun update(p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
open fun update(p0: Int, p1: Int, p2: Int, p3: Int, p4: Boolean)