Hi all. Is System.Attribute and custom attributes work in Mono for android? I
create class LayoutTestAttribute like this:
    [System.AttributeUsage(AttributeTargets.All)]
    public class LayoutTestAttribute : System.Attribute
    {
        public LayoutTestAttribute()
        {
            //this.
        }
    }
and try to use it like this:
    [Activity(Label = "TestMono", MainLauncher = true, Icon =
"@drawable/icon")]
    public class Activity1 : Activity
    {
...
        [Core.Android.LayoutTest()]
        private void TestMethod(object sender)
        {

        }
...
    }

and when i add a breakpoint in constructor LayoutTestAttribute i dont see
anything. Looks like problem is not in breakpoints - they are works well.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/System-Attribute-for-Activity-class-methods-tp5710454.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to