Krish,
There are a range of issues with your code. But the compiler has told you
that already.


It is likely that you're either not linking an assembly where
*TableItem*type defined, or you haven't imported the namespace where
it lives (via
*using* at the top of the file).

If it is a generic type than it has to come from the descendant class
definition to parent - like so

*public class HomeScreenAdapter1<TTableItem> : BaseAdapter<TTableItem>*




            listView.Adapter = new HomeScreenAdapter(this, tableItems);//the
> name 'tableItems' does not exist in the current context


Before you use the variable you need to define it and  assign it before the
first use.
In your code you're not doing that.


Igor

On 12 March 2013 23:00, <[email protected]> wrote:

> From: krish <[email protected]>
> To: [email protected]
> Cc:
> Date: Mon, 11 Mar 2013 06:39:29 -0700 (PDT)
> Subject: [mono-android] errors in Referencing a Custom Row View in
> listview ex
> hi...m getting errors at TableItem at every where in my code
> namespace EtSpSqlite
> {
>     [Activity(Label = "HomeScreebAdapter1")]
>    public class HomeScreenAdapter1 : BaseAdapter<TableItem> //the type or
> namespace name 'TableItem' could not be found(are u missing a using
> directive or an assembly reference?)//
>
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to