Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Campus Hack 19
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kd1u18
Campus Hack 19
Commits
e6d05403
Commit
e6d05403
authored
6 years ago
by
kd1u18
Browse files
Options
Downloads
Patches
Plain Diff
Delete MainActivity.java
parent
4074ffda
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
functionality/MainActivity.java
+0
-29
0 additions, 29 deletions
functionality/MainActivity.java
with
0 additions
and
29 deletions
functionality/MainActivity.java
deleted
100644 → 0
+
0
−
29
View file @
4074ffda
package
com.example.complaintapp
;
import
android.content.Intent
;
import
android.support.v7.app.AppCompatActivity
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
public
class
MainActivity
extends
AppCompatActivity
{
Button
button
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_main
);
button
=
findViewById
(
R
.
id
.
btnSign
);
button
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
myIntent
=
new
Intent
(
this
,
NextActivity
.
class
);
myIntent
.
putExtra
(
"key"
,
value
);
//Optional parameters
CurrentActivity
.
this
.
startActivity
(
myIntent
);
}
});
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment