job.answiz.com
  • 0
Votes
name

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?

 

You can use conditional statement. As mentioned below,

if(yourConditionalForSettingViewsNotVisible) {
        yourView.setVisibility(View.GONE);
    }

Hope that helps you.

  • 0
Reply Report