[android-developers] Re: Confused about Timezones and Sqlite3

2010-08-09 Thread Bara
nto the proper format for sqlite3?" Can you provide some sample code or a page that would show how to do this? I come from a .NET background and usually dealing with datetime stuff is simple, so excuse me for asking so many questions :) Bara On Aug 9, 12:03 am, Sarwar Erfan wrote: > In my pr

[android-developers] Confused about Timezones and Sqlite3

2010-08-08 Thread Bara
ot;2010-08-08 23:07:19" (eg: 4 hours earlier). Why is that? Does that mean I need to add 4 hours to all datetimes so they match the sqlite3 timezone? For example: How would I go about converting a string like "8-8-2010 11:00 AM EST" into the proper format for sqlite3? Bara

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

2010-06-27 Thread Bara
in the XML, GONE. All I had to do was to set the visibility to VISIBLE in UpdateDisplay() and it all worked! Thanks to everyone for the help! It is much appreciated, and I'll be sure to put all of your usernames in the About/Thank You section of my app :) Bara On Jun 23, 1:44 pm, Streets O

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

2010-06-22 Thread Bara
Hmm... could it be my ArrayAdapter class causing the problem? This is how I call it: r_adapter = new ReminderAdapater(rData.getCurrentActivity(), remindersList, thisListView); thisListView.setAdapter(r_adapter); r_adapter.notifyDataSetChanged(); And this is ReminderAdapater itself: public c

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

2010-06-22 Thread Bara
e did. But still, no luck. My adapter is getting the list of reminders, but it is not updating the view. Any other suggestions that may help? Bara On Jun 22, 10:51 am, Gyan wrote: > Classic problem! > > Use a static variable rather than onRetainConfigurationChange() lot of state >

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

2010-06-22 Thread Bara
I'm sorry, but I'm still not understanding what exactly I should be holding a reference to. What should mData contain (or rather, what are the properties in the MyRetainedData class)? I appreciate the help immensely :) Bara On Jun 22, 10:23 am, Streets Of Boston wrote: > You ret

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

2010-06-21 Thread Bara
Wait, what exactly should I be returning with onRetainNonConfigurationInstance? Wouldn't anything I return with that be from the original activity, not the new one? So wouldn't that cause the same problem? Bara On Jun 21, 7:27 pm, Streets Of Boston wrote: > This probably happens

[android-developers] notifyDataSetChanged() not updating listview after orientation change

2010-06-21 Thread Bara
d of handling threads with orientation changes? Bara -- 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-dev