SearchApp_Activity
Find an event screenNensi
plain_text
10 months ago
1.1 kB
5
Indexable
Find an Event Screen after splash
public class SearchApp_Activity extends SuperActivity {
LinearLayout edt_secureKey;
String SecretKey;
Intent i;
SessionManager sessionManager;
// EditText edt_secureKey;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_search_app);
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
edt_secureKey = findViewById(R.id.edt_secureKey);
sessionManager = new SessionManager(getApplicationContext());
edt_secureKey.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
i = new Intent(SearchApp_Activity.this, EventList_Activity.class);
sessionManager.setSecretKey(SecretKey);
sessionManager.setPrivatePublicStatus("1");
startActivity(i);
finish();
}
});
}
@Override
public void onBackPressed() {
finish();
}
}Editor is loading...
Leave a Comment