On Sep 15, 2011, at 5:42 AM, moelski wrote: > I´ve tried to define a public variable in activity1. But I had no luck to > access this from activity2.
class Activity1 : Activity { public static BaseData ThisIsGlobalData; } Alternatively, you could stuff it in the Application object: [Application] public class MyApp : Android.App.Application { public MyApp(IntPtr handle) : base (handle) { } public BaseData Data {get; set;} } Then within your Activity: ((MyApp) this.ApplicationContext).Data = value; - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid