Calling custom Dialog from AsyncTask?

Replace this line final ListView ResultView = (ListView)dialog. FindViewById( R.id. ListResult ).

Replace this line final ListView ResultView = (ListView)dialog. FindViewById( R.id. ListResult ); instead of final ListView ResultView = (ListView)findViewById( R.id.

ListResult ).

What's happened..? – CapDroid Mar 1 at 12:19 Thanks..It worked :). It confirms I am a noob. Thanks again buddy – Shijilal Mar 1 at 12:37 most welcome.... – CapDroid Mar 1 at 12:39.

In your code your result_Adapter may be null. Thats why when you set it to ResultView its showing NullPointerException. Also check if result_Array contain values or not.

I checked..it contain values. – Shijilal Mar 1 at 11:58 As CapDroid mentioned, remove that final keyword for ResultView – Mathew Mar 1 at 12:24.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions