Skip to content

Instantly share code, notes, and snippets.

@sidishere
Created December 24, 2019 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sidishere/6515e2a4439eab218cf520be7d384d92 to your computer and use it in GitHub Desktop.
Save sidishere/6515e2a4439eab218cf520be7d384d92 to your computer and use it in GitHub Desktop.
TextView textView1, textView2, textView3, masterSwitchSwitch s1, s2, s3, s4; 
s1 = (Switch) findViewById(R.id.button1);
s2 = (Switch) findViewById(R.id.button2);
s3 = (Switch) findViewById(R.id.button3);
s4 = (Switch) findViewById(R.id.button4);
textView1 = (TextView) findViewById(R.id.textView1);
textView2 = (TextView) findViewById(R.id.textView2);
textView3 = (TextView) findViewById(R.id.textView3);
masterSwitch = (TextView) findViewById(R.id.master_switch);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment