Skip to content Skip to sidebar Skip to footer

Android : Check When Listview Finish Implementation Or Ready

PROBLEM I want to click Listview Programmatically after onResume() and retain ListView but I don't know when and where should I implement click logic because now it Force close bec

Solution 1:

Your question isn't clear. Please edit it to state exactly what you're asking and provide all details concisely.

The exception you're receiving is caused by the fact that getWrapper() returns null. What is this function? Did you implement it yourself? Try to debug inside and see why it's null.

Also, I see no point in wrapping a Runnable in another Runnable. Why not post the inner Runnable directly?

Maybe the code in the separate thread doesn't run before you call getWrapper() and that's why it returns null?

Post a Comment for "Android : Check When Listview Finish Implementation Or Ready"