C# Class JudoDotNetXamarinAndroidSDK.NumberFormatTextWatcher

Inheritance: Java.Lang.Object, ITextWatcher
ファイルを表示 Open project: JudoPay/Judo-Xamarin

Public Methods

Method Description
AfterTextChanged ( IEditable text ) : void
BeforeTextChanged ( ICharSequence s, int start, int count, int after ) : void
Format ( string format ) : void
NumberFormatTextWatcher ( EditText editText, string format ) : System
OnTextChanged ( ICharSequence s, int start, int before, int count ) : void
RemoveListener ( ) : void

Private Methods

Method Description
Format ( IEditable text ) : void
GetStringEnd ( IEditable editable ) : int
getStringEnd ( IEditable editable ) : int
isFormatChar ( int index ) : bool

Method Details

AfterTextChanged() public method

public AfterTextChanged ( IEditable text ) : void
text IEditable
return void

BeforeTextChanged() public method

public BeforeTextChanged ( ICharSequence s, int start, int count, int after ) : void
s ICharSequence
start int
count int
after int
return void

Format() public method

public Format ( string format ) : void
format string
return void

NumberFormatTextWatcher() public method

public NumberFormatTextWatcher ( EditText editText, string format ) : System
editText EditText
format string
return System

OnTextChanged() public method

public OnTextChanged ( ICharSequence s, int start, int before, int count ) : void
s ICharSequence
start int
before int
count int
return void

RemoveListener() public method

public RemoveListener ( ) : void
return void