Hi David,
I'm also an Android newbie. Here is an example of what we are using to
populate a ListView. Hope this helps.
_mySQLAdapter = new ChildListAdapter(this, kidList);
var layoutListView =
FindViewById<ListView>(Resource.Id.LayoutListView);
layoutListView.Adapter = _mySQLAdapter;
Part of our ChildListAdapter class follows. We are using a Web Service to
get the data:
public class ChildListAdapter : BaseAdapter
{
private Activity _context;
public List<myservice.SummerCampRosterRecord> childList;
public ChildListAdapter(Activity context,
List<myservice.SummerCampRosterRecord> newList)
: base()
{
this._context = context;
childList = newList;
}
}
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Problem-getting-SQLAdapter-to-populate-ListView-tp5646692p5646751.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid