Aug 22, 2015 14:34
Aug 22, 2015 14:32
wait i i wil share
Aug 22, 2015 14:13
even though i hv null check this dismiss throughs
Aug 22, 2015 14:13
alert.dismiss
Aug 22, 2015 14:13
@Override
public void onPause() {
    super.onPause();
    if (alert != null) {
        alert.dismiss();
     //   alert = null;
    }
}
Aug 22, 2015 14:13
i have one more issue with alert sometimes it throughs null poointer
Aug 22, 2015 14:10
i am actually very new to this android..,thanks for ur guidance
Aug 22, 2015 14:09
thanks a lot :)
Aug 22, 2015 14:09
ok dane
Aug 22, 2015 14:05
if data is jst 4.5,then it wil be 4.500
Aug 22, 2015 14:04
no probs rite
Aug 22, 2015 14:04
its appending 0 at the end
Aug 22, 2015 14:00
ok let me try again
Aug 22, 2015 13:55
some one has changed d datatype to string
Aug 22, 2015 13:55
can we convert string to float n use?
Aug 22, 2015 13:54
ok
Aug 22, 2015 13:48
but not with three digits at end
Aug 22, 2015 13:48
its float only
Aug 22, 2015 13:48
currently i am getting data like 3.4,5.6 ,0.1
Aug 22, 2015 13:43
i will get this error els
Aug 22, 2015 13:43
java.util.IllegalFormatConversionException: %f can't format java.lang.String arguments
Aug 22, 2015 13:41
i mean if get data like 23.465,2.45,3.5 from server then?
Aug 22, 2015 13:36
how can i write if else conditions for this
Aug 22, 2015 13:35
@Prasad
Aug 22, 2015 13:35
yes worked out..,what if the data is not going to end always with three numbers after decimal ?
Aug 22, 2015 13:30
with no marginleft ?
Aug 22, 2015 13:30
@Prasad
Aug 22, 2015 13:29
?
Aug 22, 2015 13:29
i shld put gravity end/
Aug 22, 2015 13:26
let me try
Aug 22, 2015 13:24
so i can use snippet has it is ?..,mwt=0.2f and dwt=0.1f ?
Aug 22, 2015 13:24
I have fixed three digits after decimal for all m.wt,d.wt and cs.wt..,how can it be handled now?
Aug 22, 2015 13:24
I did not get wat it wil do exactly ?..,i can have data like 12344.55666,2445.5555..,just that decimal point should come one below other..,this wil work ?
 

Android & Kotlin Experts

Any SO Room is nothing without you all GUYS.Thanks to all memb...
Aug 22, 2015 11:38
yes offcourse i am asking server guys to send data accordingly to chk
Aug 22, 2015 11:37
i guss this wil work with margin left @kiturk3
Aug 22, 2015 11:36
pastie.org/10368099 @kiturk3 see this
Aug 22, 2015 11:31
nahi its 123.445,23.555,5.6666 @kiturk3
Aug 22, 2015 11:30
abhi tak toh mera nahi hua :(@kiturk3
Aug 22, 2015 11:13
@kiturk3
Aug 22, 2015 11:08
bt d val can be 12.344 or 3.55555
Aug 22, 2015 11:04
yes
Aug 22, 2015 11:03
but my layout is causing issue
Aug 22, 2015 11:03
if befDecimal length is 2 then add one space lke that
Aug 22, 2015 11:02
String[] split=data.getInvd_MetalWt().split("\\.");
    int befDecimal=split[0].length();
Aug 22, 2015 11:02
@kiturk3 i hv written logic like
Aug 22, 2015 10:52
yes i knw ..,hw wil isolve this nw?
Aug 22, 2015 10:49
@kiturk3
Aug 22, 2015 10:48
otherwise it ws easy has u said
Aug 22, 2015 10:48
its dynamically set via webservice
Aug 22, 2015 10:47
i cannot hardcode there