Since am new to the android development please help me.
the xml file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dha_list_layout"
android

rientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ScrollView
android:id="@+id/dha_list_scroll"
android

rientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
<LinearLayout
android:id="@+id/dha_listlayout"
android

rientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<ListView
android:id="@+id/FListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fadeScrollbars="false"
>
</ListView>
<ListView
android:id="@+id/NListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fadeScrollbars="false"
>
</ListView>
</LinearLayout>
</ScrollView>
</LinearLayout>
Am getting proper values from the webservice. I print those values in logcat.
private ArrayAdapter<String> flistAdapter ;
private ArrayAdapter<String> nlistAdapter ;
ArrayList<String> flist_name = new ArrayList<String>();
ArrayList<String> nlist_name = new ArrayList<String>();
ListView flistview,nlistview;
flistAdapter = new ArrayAdapter<String>(this, R.layout.featuredrow,flist_name);
flistview.setAdapter(flistAdapter);
nlistAdapter = new ArrayAdapter<String>(this, R.layout.normalrow,nlist_name);
nlistview.setAdapter(nlistAdapter);
I hope the code is fine. Please help me to display the items in listview.