开发者

Calling method after android listview is drawn [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how do I call my method afte开发者_运维问答r the drawing of listview is done


Most actions in android are event based, so unless the method needs to be called as a part of the 'onCreate' method of the activity, it really should be in an event listener callback method. For example, if you are drawing the listview in the onCreate method, simply call your desired method after. If the listview is drawn at a later time, it should really be in response to a user event, and in that case, you could place both the listview and the desired method in the event callback.

Of course, without any sample code, its really hard to tell what the right answer is. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜