On Wed, Sep 14, 2011 at 12:19 AM, Ash wrote:
> I found that all the time was spent in displaying the list view on the
> screen.
If that is the case, instead of worrying about knowing when it is ready to
draw, you likely have to optimize your get*View function(s). A noticeable
lag each time you
Well basically here is the breakdown:
Time when operator clicks on button = 15:17:46:351
Time when the button on click function finishes = 15:17:46:414
Time when the final display was updated = 15:17:47:179
I found that all the time was spent in displaying the list view on the
screen. Basically
I hear you. Let me try that out.
Thanks
Ash
--
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..
On Tue, Sep 13, 2011 at 6:49 PM, Ash wrote:
> well the expandablelistadapter already has all the contents which is loaded
> when onstart function is called. When the user clicks on the button, I
> simply set this adapter in the expandablelistview. So the only code line
> that is being executed is
well the expandablelistadapter already has all the contents which is loaded
when onstart function is called. When the user clicks on the button, I
simply set this adapter in the expandablelistview. So the only code line
that is being executed is
expandablelistview.setadapter(myadapter);
Hence
On Mon, Sep 12, 2011 at 10:02 PM, Ash wrote:
> Is there way to get notified when all the items have been loaded and shown
> on the screen?
Do whatever is taking so long in an AsyncTask. Show your progress dialog on
start, do your work, then hide your dialog when the work is done.
-
Hi All,
In my application I have a ExpandableListView and x number of buttons. Each
button when clicked presents a different list view.
Some lists have a lot of items and thus there can be about 1/2-1 second
delay before the items are displayed on the screen.
When the button is clicked, I have
Is it possible for the child of an ExpandableListView also be a
parent? For example, I need something like the following:
ParentA
ChildA
ChildB
ParentB
ChildC
GrandchildA??
GrandchildB??
ParentC
Any thoughts, examples, or suggestions are greatly appreciated.
Bill
--
You received
On Mon, Sep 20, 2010 at 8:17 PM, dashman wrote:
> is that possible - i.e. a ELV with different layouts for a group view.
>
Sure. The View returned for a group (or it's children) is determined by you
in the adapter. You can return whatever you want depending on your current
needs.
--
i've got an ExpandableListView with my own layouts for
the group and child views.
a certain group-type will require a different layout.
is that possible - i.e. a ELV with different layouts for
a group view.
i've got my own sub-class of SimpleExpandableListAdapter.
--
You received this message
10 matches
Mail list logo