Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Activitybla extends Activity{
- boolean attribut;
- public void onCreate(Bundle savedInstanceState){
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main) // HIER UNBEDINGT DIE VERWENDETE LAYOUT-Datei ANGEBEN!! (XML)
- }
- public void programmname(View v){
- attribut = true;
- goOn();
- }
- public void goOn(){
- if(attribut != null){
- if(attribut){
- // mach irgendwas
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement