Extension of the method goToNavigateItem() with dailySudoku Item. Adds NavigationDrawer functionality.
This commit is contained in:
parent
514750650d
commit
e10746822d
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,7 @@ import org.secuso.privacyfriendlysudoku.controller.NewLevelManager;
|
||||||
import org.secuso.privacyfriendlysudoku.controller.helper.GameInfoContainer;
|
import org.secuso.privacyfriendlysudoku.controller.helper.GameInfoContainer;
|
||||||
import org.secuso.privacyfriendlysudoku.game.GameDifficulty;
|
import org.secuso.privacyfriendlysudoku.game.GameDifficulty;
|
||||||
import org.secuso.privacyfriendlysudoku.game.GameType;
|
import org.secuso.privacyfriendlysudoku.game.GameType;
|
||||||
|
import org.secuso.privacyfriendlysudoku.ui.view.DailySudokuActivity;
|
||||||
import org.secuso.privacyfriendlysudoku.ui.view.R;
|
import org.secuso.privacyfriendlysudoku.ui.view.R;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
|
@ -330,6 +331,11 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig
|
||||||
overridePendingTransition(0, 0);
|
overridePendingTransition(0, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case R.id.nav_dailySudoku_main:
|
||||||
|
intent = new Intent(this, DailySudokuActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue