Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a053e55

Browse files
author
brad.xie
committed
gif
1 parent a145335 commit a053e55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎app/src/main/java/com/xie/brad/myswitchbutton/MainActivity.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public class MainActivity extends AppCompatActivity implements SwitchButton.OnSw
1212
protected void onCreate(Bundle savedInstanceState) {
1313
super.onCreate(savedInstanceState);
1414
setContentView(R.layout.activity_main);
15+
1516
SwitchButton switchButton = (SwitchButton) findViewById(R.id.switchbutton);
1617
switchButton.setOnSwitchListener(this);
1718
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /