-----Original Message-----
From: Lance Nanek <[email protected]>
Sent: Tuesday, January 05, 2010 1:31 PM
To: Android Developers <[email protected]>
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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to