« first day (683 days earlier)      last day (167 days later) » 

4:53 AM
@Prince yes still in office :(
@PG_Android u there
 
5:13 AM
GM :)
 
5:32 AM
@Prince am very fine. How r u? Where are you?
 
Sun
0
Q: How to implement condition on view change using ViewPager

SunIn my program i am using Fragments with ViewPager, where each and every Fragment contains 3 checkboxes, and i want to put a condition if user has not checked any of the checkbox don't switch to other fragment when swipe. I know what could be the condition, but i don't know where to put ? This c...

 
Adi
5:49 AM
VGM @All
@ChiragPatel @TopCat @AliAshiq ... how are u ppl?
 
@Adi fine and u ?
 
Adi
M good too @ChiragPatel
 
6:12 AM
@PG_Android nice link :)
 
6:24 AM
@Adi good morning
Am fine
 
Adi
good @TopCat
 
Me in home
 
Adi
good
 
6:49 AM
Mm
 
@Adi @TopCat sup guys!
cool animations for android L. T.T
 
On weekend @Kerppag hws u?
 
still at office @TopCat last saturday of work :))
 
Adi
hii @Kerppag
 
how are you @Adi (no more ...)
 
Adi
6:52 AM
hahah
m good howz u buddy ?@Kerppag
 
Ha ha..
 
working :)) haha actionscript 3 is kinda cool. @Adi
 
V good
 
@TopCat i cant wait to get my hands of nexus 5
 
Wen u get?
 
Adi
6:53 AM
good @Kerppag
 
maybe november -.- @TopCat i cant forget the monsterous spec and cheap
are you guys coming on Singapore conference this november? maybe we might see each other.
 
Adi
@Kerppag
do u know this
08-30 12:24:17.185: I/System.out(18516): [CDS]rx timeout:0
08-30 12:24:17.186: W/System.err(18516): rto value is too small:0
 
is it still with the servlet thing?
 
Adi
yes yes
hell lot of things to solve
runs perfectly when on localhost
but as soon as i deploy it on server
 
that is your log cat error right?
 
Adi
7:00 AM
yes
starts creating problem
 
hmmm. there should be no problem running on local and on server.
 
Adi
becoz of this i m getting blank response or no response from servlet on server
starts creating problem
yes
 
that should be the same. or maybe the network bandwidth or something cause it says timeout
in your logcat error is there a "Cause" so maybe we can trace which line of code causes the error
 
Adi
cause is i m trying to change the response using substring which has length 0
since i m not getting response obviou the i will get this error
 
yup! why u have an empty response then
 
Adi
7:05 AM
becoz i m getting time out error@Kerppag
08-30 12:24:17.185: I/System.out(18516): [CDS]rx timeout:0
08-30 12:24:17.186: W/System.err(18516): rto value is too small:0
 
can you post the full log cat? there must be something underneath that
 
@Adi post full log
 
@Adi @TopCat good morning
how are u
 
@AliAshiq am fine
and u?
 
me also fine @TopCat whats going on
i need ur help @TopCat how could i update my adapter in UI
@Adi
 
7:09 AM
notifyChanges
 
Adi
ok@TopCat
 
notifydatasetchanged @AliAshiq
 
@AliAshiq Wat u want to do? If u r using asynTask use onPostExecute()
 
i have already use adapter.notifyDataSetChanged(); @Kerppag have a look i have post a question stackoverflow.com/questions/25571687/…
 
7:11 AM
@Adi you getting that error because of StringIndexOutOfBoundsException:
 
i have a chat base application and when i receive message from user my CustomListViewAdapter is not updated. i have alrady used adapter.notifyDataSetChanged(); but it does not work in my case. here is my code @Adi @TopCat @Kerppag
 
@AliAshiq do you add it to the list/arraylist? then notifydatasetchange
@Adi technically it is not a timeout error it is just that the string you are trying to substring doesnt contain that much characters.
 
Adi
@Kerppag
 
@AliAshiq why do you always need to do this


adapter = new CustomListViewAdapter(getBaseContext(),
R.layout.list_item, rowItems);
 
@Adi problem is with ur doinBackground()
 
7:14 AM
just put that line of code in onCreate method @AliAshiq
 
Adi
ohhh... I know how to read log cat guys
@Kerppag @TopCat
u r telling me something which I already know
 
@Adi what i mean is that check the response string you are getting from the server
that is why i said that you have stringindexoutofbounds
 
Adi
the problem is with timeout
 
no its not
 
not that Adi
 
7:16 AM
have you read this line in your logcat @Adi Caused by: java.lang.StringIndexOutOfBoundsException: length=0; regionStart=1; regionLength=-3
 
Caused by: java.lang.StringIndexOutOfBoundsException: length=0; regionStart=1; regionLength=-3
ha ha
@Kerppag same pitch :D
 
haha!
 
Adi
@TopCat @Kerppag i will let u explain the thing when I have lot of time.. i know this
i know this
 
ok. take your own time.
 
sure @Adi
 
7:18 AM
Am leaving.. TC guys bye
 
TC @TopCat
 
Adi
bye bye @TopCat
 
@TopCat too early? why?
 
because it is weekend xD
 
@PG_Android no office yaar :)
weekend :D
 
7:18 AM
@TopCat Oh great
 
@PG_Android TC :D
 
7:29 AM
@Kerppag it doesnt show any thing in my listview when i follow ur suggestions
 
@TopCat OK brother enjoy it
 
have u seen my question @Kerppag
 
have you tried the answer?
notifydatasetchange should fix it if you just want to update the data of your listview
and the setAdapter method should only be on onCreate
you dont want to create many adapter class
 
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.messages);

rowItems = new ArrayList<RowItem>();
listView = (ListView) findViewById(R.id.list1);
item = new RowItem(R.drawable.messages, "messages");
rowItems.add(item);
adapter = new CustomListViewAdapter(this,
R.layout.list_item, rowItems);
listView.setAdapter(adapter);
@Kerppag
ohh Sorry @Adi i forgot
yes i have tried that answer and my listview has been vanished @Kerppag
 
@AliAshiq please use pastie.org
 
7:40 AM
ok @ChiragPatel and sorry
@Kerppag
 
@AliAshiq
 
yes @Kerppag i using ur these links and trying brother
ok tell if i create a runnable thread in onCreate and update my adapter in runnable how could i do this @Kerppag
 
7:57 AM
it is just the same. notifydatasetchange is used to update the data in your adapter.
do you have any kind of error @AliAshiq
 
can i share screen on skype so i will show my problem on emulaotr
please dnt refuse me @Kerppag
 
im at work so i dont have skype
else we could try hangouts
 
could u speak hindii @Kerppag so i will tell my problem in urdu its easy for me to tell u in urdu/hindi
@Kerppag
 
actually im a Filipino @AliAshiq so i cant
lets try to check if you are receiving something i saw a line that if(message !=null) are you that it is always true? so that you can add an item to your adapter
 
ok i just share the screen and show u demo on emulator vis skype: we dnt speak and when u see any person arround u will minimize the screen so i wait for u
@Kerppag
when u get free time @Kerppag so i have to wait for u
 
8:09 AM
i dont have skype @AliAshiq just post some screenshot
 
ok let me post
 
dont wait up for me lol. it might take forever. dont get online at home very often.
 
what is ur office timing brother i need ur help @Kerppag
 
+8 gmt @AliAshiq
 
Adi
@AliAshiq he is not in India
 
8:15 AM
@Adi you are from India ?
 
Adi
yes@TGMCians
 
gtg TC all.
 
@Kerppag same to you
 
8:56 AM
BYE BYE ALL
 
Yes i noe @Adi
@Adi
@PG_Android
@Kerppag
@Kerppag u there
 

« first day (683 days earlier)      last day (167 days later) »