Skip to content

Instantly share code, notes, and snippets.

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 dante-byte/519cf48a5944a910811ba6cf824aa0e9 to your computer and use it in GitHub Desktop.
Save dante-byte/519cf48a5944a910811ba6cf824aa0e9 to your computer and use it in GitHub Desktop.
public class MainActivity extends AppCompatActivity {
ListView list;
EditText text;
Button addButton;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
list = (ListView) findViewById(R.id.listView);
text = (EditText) findViewById(R.id.editText);
addButton = (Button) findViewById(R.id.button);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment