This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

android custom list view position and click event problem(list getting dynamic data from server)

 
neetika porwal
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a help more.Actually i am facing a problem for my listview that is getting new data after each 3 seconds as i asked you was working fine now.but there is a problem when i click on the listrow (launch the new activity show the visitordetail page) i am passing some data from listview row to another activity.my problem is that listview is getting new data after each 3 seconds when i click the listrow then next activity started and show the visitordetail page in the case update method is called before clicking the listview row but if i click the row and same time new data is received and added to row that app is crashed.


what should i do that my app is not crashed and work fine when click on row or row's button.i passing sessiontext and iptext related to that row to next activity.

my class code is followinggiven below.

 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Um ... do you really expect anyone to try to understand 900 lines of code?
 
neetika porwal
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally i got solved my problem.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be nice if you told us how you solved the problem. That way when others run into the same issue, they can try your solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic