This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Android and the fly likes android custom list view position and  click event problem(list getting dynamic data from server) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "android custom list view position and  click event problem(list getting dynamic data from server)" Watch "android custom list view position and  click event problem(list getting dynamic data from server)" New topic
Author

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

neetika porwal
Greenhorn

Joined: Feb 24, 2012
Posts: 20
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
Um ... do you really expect anyone to try to understand 900 lines of code?
neetika porwal
Greenhorn

Joined: Feb 24, 2012
Posts: 20
Finally i got solved my problem.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: android custom list view position and click event problem(list getting dynamic data from server)
 
Similar Threads
it doesn't give me the country name
it doesn't change the longitude & latitude
getting null pointer
Android CustomListView getView() getting nullpointerexception
How to start new activity when click on a listview and pause the process that is being in background