https://bugzilla.novell.com/show_bug.cgi?id=633675

https://bugzilla.novell.com/show_bug.cgi?id=633675#c3


Jonathan Pryor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO
       InfoProvider|                            |[email protected]

--- Comment #3 from Jonathan Pryor <[email protected]> 2010-08-27 16:25:59 UTC 
---
wha?

Could you please copy or attach the ArrayAdapter C# subclass and the resulting
Java code?

For example, here is my test case:


  class OrderAdapter : Android.Widget.ArrayAdapter {
    private Java.Util.ArrayList<string> items;

    public OrderAdapter (Context context, int textViewResourceId, 
          Java.Util.ArrayList<string> items)
      : base (context, textViewResourceId, items)
    {
      this.items = items;
    }
  }

And here is the resulting Java code:


  package mono.samples.hello;


  public class OrderAdapter
    extends android.widget.ArrayAdapter
  {
    static final String __md_methods;
    static {
      __md_methods = 
        "";
      mono.android.Runtime.register (
          "Mono.Samples.Hello.OrderAdapter, Hello, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null", 
          OrderAdapter.class, __md_methods);
    }

    public OrderAdapter (android.content.Context p0, int p1)
    {
      super (p0, p1);
    }

    public OrderAdapter (android.content.Context p0, int p1, int p2)
    {
      super (p0, p1, p2);
    }

    public OrderAdapter (android.content.Context p0, int p1, 
        java.lang.Object[] p2)
    {
      super (p0, p1, p2);
    }

    public OrderAdapter (android.content.Context p0, int p1, int p2, 
        java.lang.Object[] p3)
    {
      super (p0, p1, p2, p3);
    }

    public OrderAdapter (android.content.Context p0, int p1, java.util.List p2)
    {
      super (p0, p1, p2);
    }

    public OrderAdapter (android.content.Context p0, int p1, int p2,
        java.util.List p3)
    {
      super (p0, p1, p2, p3);
    }
  }

Notice that there are no more 'import' statements in the above code (this was
the change in r7799), so I'm wondering how you're seeing the same problem.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to