case R.id.btnsearch:
                       List<NameValuePair> nameValues=new
ArrayList<NameValuePair>();
                       nameValues.add(new
BasicNameValuePair("t",
edittext.getText().toString()));
                       nameValues.add(new BasicNameValuePair("p","1"));
                       String data=new
HttpRetriever().getSearchdata(UrlConstants.BASEURL
+UrlConstants.SEARCH, nameValues);
                       new JsonParser().parseSearchTrackValue(data);
                       break;

you want to set list view when search button is clicked,i think you should
set setContentView(R.id.list) belonging to listView and set suitable Adapter
for it.


On Thu, May 19, 2011 at 9:47 AM, Hitendrasinh Gohil <
hitendra.virtuei...@gmail.com> wrote:

> when activity loads frist time getview method is called but when i clicked
> on search  data   orderAdapter.
> notifyDataSetChanged();
> orderAdapter.notifyDataSetInvalidated();,these methods called but not
> reflcted in list.
>
>
> then i have tried starting same activity and finish it on click event,in
> that case oncreate method is called but getview is not called.
>
>
> have u anyguess?
>
>
> i simply want to load data on listview when search event is called?this
> search is within three activities.
>
>
>
> --
> Regards,
> Hitendrasinh Gohil
>
>
>  --
> 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...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to