mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
594 B
Java
24 lines
594 B
Java
package com.todoroo.astrid.activity;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
|
|
public class TaskEditActivity extends Activity {
|
|
|
|
private static final String TOKEN_ID = "id";
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
|
|
final long taskId = getIntent().getLongExtra(TOKEN_ID, 0);
|
|
|
|
Intent intent = new Intent(this, TaskListActivity.class);
|
|
intent.putExtra(TaskListActivity.OPEN_TASK, taskId);
|
|
startActivity(intent);
|
|
|
|
finish();
|
|
}
|
|
}
|