Here's my code

```
public class Abc(){
Public void onCreate(){
Textview ustatus;
ustatus=(Textview)findviewbyid(R.id.status);
    statusButton.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
                public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
                    if (isChecked) {
                        statusOnline();
                        // The toggle is enabled
                    } else {
                        statusOffline();
                        // The toggle is disabled
                    }
                }
            });
}

      public void statusOnline(){
               ustatus.setText("Online");
}
public void statusOffline(){
               ustatus.setText("Offline");
}
}

```

I want to know what toggle state would be at the initial on startup suppose in statusOnline and statusOffline method i am doing alot more so i just want that at initial this toggle is intialized with "ON" state.
I don't how to achieve it please bring some light into my code.