We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2385362 commit f0a500fCopy full SHA for f0a500f
1 file changed
examples/maven/src/main/java/org/androidannotations/sample/MyActivity.java
@@ -30,7 +30,6 @@
30
import android.view.WindowManager;
31
import android.widget.EditText;
32
import android.widget.TextView;
33
-import android.widget.Toast;
34
35
@EActivity(R.layout.my_activity)
36
public class MyActivity extends Activity {
@@ -56,13 +55,6 @@ public class MyActivity extends Activity {
56
55
@SystemService
57
WindowManager windowManager;
58
59
- /**
60
- * AndroidAnnotations gracefully handles support for onBackPressed, whether you use ECLAIR (2.0), or pre ECLAIR android version.
61
- */
62
- public void onBackPressed() {
63
- Toast.makeText(this, "Back key pressed!", Toast.LENGTH_SHORT).show();
64
- }
65
-
66
@Override
67
protected void onCreate(Bundle savedInstanceState) {
68
super.onCreate(savedInstanceState);
0 commit comments