I tried it, but i get a empty cursor doing it because my Listactivity
show the "empty" message.
I already wondering about that. Anyone else ?

Thx,
Jens



On 5 Jan., 08:27, Hjcheon <hjch...@gmail.com> wrote:
> -----Original Message-----
> From: Lance Nanek <lna...@gmail.com>
> Sent: Tuesday, January 05, 2010 1:31 PM
> To: Android Developers <android-developers@googlegroups.com>
> Subject: [android-developers] Re: ListActivity not updating on Database 
> update.
>
> Have you tried calling requery on the underlying Cursor?
>
> On Jan 4, 8:00 pm, mac-systems <jens.h...@gmx.de> wrote:
> > Hello,
>
> > i update a value in my Database in a Listview using a Context Menu.
> > The code so far seems to be ok. But everything i try to make the
> > update visible in the View failed. Anyone can point me whats wrong
> > there ? I use a ViewBinder to map the Layout for each row.
>
> > Row Layout:
>
> > ?xml version="1.0" encoding="UTF-8"?>
> > <LinearLayout
> >         xmlns:android="http://schemas.android.com/apk/res/android";
> >         android:orientation="vertical"
> >         android:layout_width="fill_parent"
> >         android:layout_height="fill_parent">
>
> >         <TextView
> >                 android:id="@+id/custom_spotoverview_name"
> >                 android:text="text"
> >                 android:layout_width="wrap_content"
> >                 android:layout_height="wrap_content"
> >                 android:textSize="20sp" />
>
> >         <LinearLayout
> >                 xmlns:android="http://schemas.android.com/apk/res/android";
> >                 android:orientation="horizontal"
> >                 android:layout_width="fill_parent"
> >                 android:layout_height="fill_parent">
>
> >                 <ImageView
> >                         android:id="@+id/custom_spotoverview_activ"
> >                         android:layout_width="wrap_content"
> >                         android:layout_height="wrap_content" />
>
> >                 <View
> >                         android:layout_width="5dp"
> >                         android:layout_height="5dp" />
>
> >           =
>
> [The entire original message is not included]

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to