Skip to content

Instantly share code, notes, and snippets.

@ziginsider
Created November 28, 2017 12:25
Show Gist options
  • Save ziginsider/8904df6a2c93b27e07e39951def61a31 to your computer and use it in GitHub Desktop.
Save ziginsider/8904df6a2c93b27e07e39951def61a31 to your computer and use it in GitHub Desktop.
public class MainActivity extends AppCompatActivity {
EditText input_name, input_email;
private ListView list_data;
private ProgressBar circular_progress;
@Override
protected void onCreate(Bundle savedInstanceState) {
...
//Control
circular_progress = (ProgressBar) findViewById(R.id.circular_progress);
input_name = (EditText) findViewById(R.id.name);
input_email = (EditText) findViewById(R.id.email);
list_data = (ListView) findViewById(R.id.list_data);
...
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment