Re: [android-beginners] Invalid View object passed to onListItemClick()?

2009-12-14 Thread Eus
HiHo!

On Sun, 2009-12-13 at 14:48 -0800, Liviu Ungureanu wrote:
 Hi!
   I tested your code on my Hero and it work fine..No that error on
 Android 1.5!

Yes, you are right! Thanks for the info.

BTW, the program also works fine in Android 1.1.

But, the program does not work in 2.0 and 2.0.1.

Compiling the program for 1.5 and running the program in 2.0.1 also
don't help.

I will ask the developers then.

-- 
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/jf?referrer=4445

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Invalid View object passed to onListItemClick()?

2009-12-13 Thread Eus
HiHo!

When I click on an item in the ListView, the background color that gets
changed is not that of the clicked item but instead of the other item in
the opposite side relative to the middle item:

1 -- I click here
2
3 -- Acts as a mirror
4
5 -- This is the one that gets changed

1
2 -- This is the one that gets changed
3 -- Acts as a mirror
4 -- I click here
5

I am aware that of this post:
http://groups.google.com/group/android-beginners/browse_thread/thread/7372b92dfa50ee33/f806641a8aeafa72

But, this problem persists even when I use CheckedTextView like what is 
suggested in the post.

I use the latest stable SDK. The target platform is Android 1.6 (API
level 4).

The simple problematic code can be found here:
http://www.mediafire.com/?sharekey=6dd15ff25c627a277432d3c9683f450acd7138973b42b69438538f5672f1b9df

There I also put the screenshots showing the problem:
demo01.png: I click an item.
demo02.png: the clicked item doesn't get changed but the reflective item
does.

-- 
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/jf?referrer=4445


  

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Invalid View object passed to onListItemClick()?

2009-12-13 Thread Eus
HiHo!

When I click on an item in the ListView, the background color that gets
changed is not that of the clicked item but instead of the other item in
the opposite side relative to the middle item:

1 -- I click here
2
3 -- Acts as a mirror
4
5 -- This is the one that gets changed

1
2 -- This is the one that gets changed
3 -- Acts as a mirror
4 -- I click here
5

I am aware that of this post:
http://groups.google.com/group/android-beginners/browse_thread/thread/7372b92dfa50ee33/f806641a8aeafa72

But, this problem persists even when I use CheckedTextView like what is 
suggested in the post.

I use the latest stable SDK. The target platform is Android 1.6 (API
level 4).

The simple problematic code can be found here:
http://www.mediafire.com/?sharekey=6dd15ff25c627a277432d3c9683f450acd7138973b42b69438538f5672f1b9df

There I also put the screenshots showing the problem:
demo01.png: I click an item.
demo02.png: the clicked item doesn't get changed but the reflective item
does.

-- 
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/jf?referrer=4445

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Invalid View object passed to onListItemClick()?

2009-12-13 Thread Liviu Ungureanu
Hi!
  I tested your code on my Hero and it work fine..No that error on Android
1.5!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en