In an android application having two activity, one activity is Login Screen and second Activity is SignUp page with a fragment(signup form). when user login on some condition I redirect to Activity which contains a fragment. so I want to hide some component using flag.
How can do that please help?