Tuesday, May 18, 2010

Re: [android-developers] Listener on Spinner

Yeah i finally found the issue when i get my data i have a datetime in it so i tried to replace with a simple new Date() and my Function worked actually so maybe i have to correct the datetime that i get from my BD that has a format like this "2010-04-20 18:00:24.000" so when i try to cast it to new Date(String) in java i have that problem so i that's wwhy my listEmployees is empty.
 

2010/5/18 TreKing <trekingapp@gmail.com>
On Tue, May 18, 2010 at 10:55 AM, Lamia Hannoun <lamia.hannoun@gmail.com> wrote:
i can get data from my webservice but once inside the bloc of the listener "listEmployees" is empty.

All I see is this:

listEmployees=GetEmployees(service.getSelectedItem().toString());

Which would indicate there's a problem with your GetEmployees function if the list is coming back empty.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment