Skip to content

Commit bb8477c

Browse files
author
brad.xie
committed
gif
1 parent f3817b0 commit bb8477c

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)