t really have to go through notifyDataSetChanged to update the UI.
>
> If you know that the set of items stays the same (i.e. only their data
> changed), you can iterate the listview's children and update them
> bypassing the adapter.
>
> -- Kostya
>
> 09.12.2011 14:10, yan
Thanks. But seems hard to maintain focus in a listview before and
after the latyout pass. I check the source code of listview, it did
something that may broke the focus in layout pass.
On Dec 9, 5:46 am, lbendlin wrote:
> you will need to remember (per row) which item has focus, and when the list
In my application, I want to implement a ListView, of each itemview is
a LinearLayout with two focusable buttons in it horziontally, and each
row item data loads from server in page. But it seems that when
adapter.notifyDataSetChanged is invoked, if the focus is on the right
button of the itemview,
I am developing a feature that need camera's autofocus. If the device
does not support AF, then I will not show that feature. There are two
ways I know to detect AF.
One is using Camera.Parameter, but that need to open camera first and
will be slow and give a little bit sound when openning.
The o
I have an implementation that just like gmail application, but have
met some problem in some case. And I tested it on the real device of
the gmail application. Seems they are caused by the same reason.
ListView.
Just go to the gmail application, scroll down to the last visible
mail, and at this ti
I want to intercept the request from webview and use the cache html
page instead sending a real web request. I alos find a
CacheManager.CacheResult and UrlInterceptHandler. The class implements
UrlInterceptHandler did work, it can intecept the request. However, I
fonud no way to generate a CacheRe
6 matches
Mail list logo