Take a look at the AdapterView

http://webcache.googleusercontent.com/search?q=cache:DuD-98M6iV4J:www.netmite.com/android/mydroid/frameworks/base/core/java/android/widget/AdapterView.java+android+AdapterView&cd=6&hl=en&ct=clnk

Sorry, that's the only link I could get in a rush. You should though have
the Android sources locally...

BR,
Adrian Vintu
http://adrianvintu.com


On Wed, May 12, 2010 at 2:45 PM, TreKing <treking...@gmail.com> wrote:

> On Sat, May 8, 2010 at 3:11 AM, yorick <yuri.opo...@gmail.com> wrote:
>
>> what can be wrong?
>
>
> Try setting the empty view BEFORE setting the adapter, or call
> adapter.notifyDataSetChanged() after setting the empty view. Maybe this will
> trigger the change. Not sure.
>
> Also, your constructor takes a Context and an Activity, which IS a context,
> so the first parameter is pointless.
> Then you use getContext(), which I don't know how it's defined, but you're
> already passing in two contexts - might as well use one of them there.
>
>
> -------------------------------------------------------------------------------------------------
> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to