I making a static class so I can access it in different activity.. I need to pass 1 data to another activity, but I don't know to make it properly. I tried to use put extra things, but it is for passing data to next activity (not global (maybe)).
this is my class..
static class AuthorizedUserIdClass
{
private static Guid _authorizedUserId;
static Guid AuthorizedUserId
{
get { return _authorizedUserId; }
set { _authorizedUserId = value; }
}
static AuthorizedUserIdClass()
{
AuthorizedUserId = _authorizedUserId;
}
}
is it right? then, how to use it in activity? and how to call the filled data in another activity?
Thanks in advance :)