5

I've widget with listview inside and few times per day the listview items just disappears. I find out that it can be due to launcher restart - so I tried a little test. I manually restarted launcher, and it just confirmed my suspicion - it's definitely because of launcher restart.

How to deal with this? The rest of widget (buttons, listeners, ...) are working, just listview items disappear and I can't even see empty_list layout, that I defined - that's why i must add to my widget manual refresh button, but it's not very good solution...

qkx
  • 2,383
  • 5
  • 28
  • 50

2 Answers2

3

The problem you are encounterung seems to be a known issue: see link here: http://code.google.com/p/android/issues/detail?id=28216

There you can find some workaround on how to fix this.

Milos Cuculovic
  • 19,631
  • 51
  • 159
  • 265
  • I read whole thread, but there are no solutions for this error :( – qkx Feb 01 '13 at 11:31
  • It should work if you update your android version. I know, this is not the best solution, especially if your phone can't support it. Strange that android developpers haven't fixed this yet ! – Milos Cuculovic Feb 01 '13 at 11:37
  • hm it's bug which I noticed in ICS, Jelly Bean 4.1 and also 4.1.2...strange. – qkx Feb 06 '13 at 01:11
1

ok except that it's ICS bug, it's partially also my fault - just always recreate widget content in onUpdate method and it will be ok ;)

qkx
  • 2,383
  • 5
  • 28
  • 50