on 08-23-2011 8:41 AM
Hai,
I want to do calculation in lost focus of EditText at First time only. If lost focus was occured second time or next need not do that calculation. So I want to get the first time of lost focus of edittext. Any idea is appreciated.
Thanks in advance.
Hi Parvatha,
You can use this logic here
first store the edittext value into the a temporary variable when first time lost focus event occured in edittext
and do the calculation
After that if the lost focus event occured in edittext box second time then you need to compare
the previous value(temporary variable value) and the current value in the edit text
if both are equal u dont need to calculate otherwise do calculation
Hope This Helps you
Thanks
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.