Hi,
I had the same problem, it was gone when i removed all the @override
lines above the functions of the SeparateListAdapter.
So try not overriding the functions.
It worked for me.
Regards,
Purvi
On Sep 27, 4:00 pm, Wouter wouterg...@gmail.com wrote:
But I declare it there and then in my
Could it be that simple? Gonna try it immediatelly!
Thank you!
On 7 okt, 16:18, purvi purvi.n...@gmail.com wrote:
Hi,
I had the same problem, it was gone when i removed all the @override
lines above the functions of the SeparateListAdapter.
So try not overriding the functions.
It worked
Hmm all the @overrides were gone.. :s
On 7 okt, 16:18, purvi purvi.n...@gmail.com wrote:
Hi,
I had the same problem, it was gone when i removed all the @override
lines above the functions of the SeparateListAdapter.
So try not overriding the functions.
It worked for me.
Regards,
Purvi
How can i solve this please?
--~--~-~--~~~---~--~~
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
On 26 sep, 19:10, Marco Nelissen marc...@android.com wrote:
On Sat, Sep 26, 2009 at 6:20 AM, Wouter wouterg...@gmail.com wrote:
When i look at the sample from the seperatedlistadapter i see this:
# @Override
# public void onCreate(Bundle icicle) {
#
On Sun, Sep 27, 2009 at 6:01 AM, Wouter wouterg...@gmail.com wrote:
On 26 sep, 19:10, Marco Nelissen marc...@android.com wrote:
On Sat, Sep 26, 2009 at 6:20 AM, Wouter wouterg...@gmail.com wrote:
When i look at the sample from the seperatedlistadapter i see this:
# @Override
#
Ok i will try to explain how i generate my headers with the
seperatedlistadapter..
private SeparatedListAdapter adapter;
in my setupViews functions:
this.adapter = new SeparatedListAdapter(this);
setListAdapter(adapter);
And then to retrieve my data:
@SuppressWarnings(unchecked)
I don't see anything obviously wrong with your code. I do notice that
you apparently create the SeparatedListAdapter and then immediately
call setListAdapter with it, whereas the SeparatedListAdapter sample
code creates the adapter, then adds a bunch of sections to it, and
then calls
But I declare it there and then in my runnable i do
adapter.notifyDatasetChanged so the listview knows there is other data
to show.
This works for other adapters.. Really don't know why this isn't
working.
My listview with headers works, i can see the first header or
sometimes more but when i
On Sat, Sep 26, 2009 at 6:20 AM, Wouter wouterg...@gmail.com wrote:
When i look at the sample from the seperatedlistadapter i see this:
# @Override
# public void onCreate(Bundle icicle) {
# super.onCreate(icicle);
#
# ListMapString,? security = new
When i look at the sample from the seperatedlistadapter i see this:
# @Override
# public void onCreate(Bundle icicle) {
# super.onCreate(icicle);
#
# ListMapString,? security = new LinkedListMapString,?
();
# security.add(createItem(Remember passwords, Save
usernames
Np the headers are using a separate layout file..
On 25 sep, 00:04, Marco Nelissen marc...@android.com wrote:
On Thu, Sep 24, 2009 at 2:12 PM, Wouter wouterg...@gmail.com wrote:
On 24 sep, 22:53, Marco Nelissen marc...@android.com wrote:
On Thu, Sep 24, 2009 at 1:41 PM, Wouter
So there's your problem then, probably. The adapter expects each item
to have the same items, so that it can assign the fields from your
Cursor to the corresponding items in your list item layout. In other
words, if your normal list item contains items with IDs A, B and C,
them your section list
On 25 sep, 16:57, Marco Nelissen marc...@android.com wrote:
So there's your problem then, probably. The adapter expects each item
to have the same items, so that it can assign the fields from your
Cursor to the corresponding items in your list item layout. In other
words, if your normal list
On Fri, Sep 25, 2009 at 10:18 AM, Wouter wouterg...@gmail.com wrote:
On 25 sep, 16:57, Marco Nelissen marc...@android.com wrote:
So there's your problem then, probably. The adapter expects each item
to have the same items, so that it can assign the fields from your
Cursor to the
Can someone help me please! Really need to get this fixed!
On Sep 19, 3:10 pm, Wouter wouterg...@gmail.com wrote:
Do you know a solution?
On 18 sep, 19:00, Wouter wouterg...@gmail.com wrote:
This is the function:
public View getView(int position, View convertView, ViewGroup parent)
{
Somewhere in your code, you are passing a resource ID to the system
that should refer to a TextView, but doesn't.
My guess is you've set your data mapping up incorrectly.
On Thu, Sep 24, 2009 at 1:25 PM, Wouter wouterg...@gmail.com wrote:
Can someone help me please! Really need to get this
I have no problem with the data mapping and TextViews. It fully works
when i don't use a seperatedList adapter..
So there is problem with this seperatedListAdapter..
Is there another way i can use to divide my list in sections with
headers?
On 24 sep, 22:36, Marco Nelissen marc...@android.com
On Thu, Sep 24, 2009 at 1:41 PM, Wouter wouterg...@gmail.com wrote:
I have no problem with the data mapping and TextViews.
The stack trace and crash you're seeing indicate otherwise.
Unless you're doing something specific in bindView, the adapter
expects each list item layout to be the same.
On 24 sep, 22:53, Marco Nelissen marc...@android.com wrote:
On Thu, Sep 24, 2009 at 1:41 PM, Wouter wouterg...@gmail.com wrote:
I have no problem with the data mapping and TextViews.
The stack trace and crash you're seeing indicate otherwise.
Unless you're doing something specific in
On Thu, Sep 24, 2009 at 2:12 PM, Wouter wouterg...@gmail.com wrote:
On 24 sep, 22:53, Marco Nelissen marc...@android.com wrote:
On Thu, Sep 24, 2009 at 1:41 PM, Wouter wouterg...@gmail.com wrote:
I have no problem with the data mapping and TextViews.
The stack trace and crash you're
Do you know a solution?
On 18 sep, 19:00, Wouter wouterg...@gmail.com wrote:
This is the function:
public View getView(int position, View convertView, ViewGroup parent)
{
int sectionnum = 0;
for(Object section : this.sections.keySet()) {
Really dont find what the problem is, the weird is it worked and i
havent changed anything :(
On 18 sep, 12:02, Wouter wouterg...@gmail.com wrote:
Hey,
I have a weird problem. For days i have a working list with movie
details i get from an xml rpc source. It loads the list very well and
I
I removed my seperatedlistadapter and now it worked.. :s But it was
working before with my seperatedlistadapter :(
On 18 sep, 14:47, Wouter wouterg...@gmail.com wrote:
Really dont find what the problem is, the weird is it worked and i
havent changed anything :(
On 18 sep, 12:02, Wouter
Where in your code is SeparatedListAdapter.java:93? And can you post
the resource xml as well?
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those
This is the function:
public View getView(int position, View convertView, ViewGroup parent)
{
int sectionnum = 0;
for(Object section : this.sections.keySet()) {
Adapter adapter = sections.get(section);
int size =
26 matches
Mail list logo