Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainActivity extends AppCompatActivity {
- Button b1;
- TextView t;
- int count=0;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- b1=(Button)findViewById(R.id.button);
- t=(TextView)findViewById(R.id.text);
- b1.OnClickListener(new View.OnClickListener())
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement