-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed switch bug. Added notification and on click activity for notifi…
…cation.
- Loading branch information
1 parent
dafdb47
commit e43a0c3
Showing
15 changed files
with
336 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
app/src/main/java/com/bluealeaf/dota2ticker/MatchDetailsActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.bluealeaf.dota2ticker; | ||
|
||
import android.os.Bundle; | ||
import android.support.v7.app.ActionBarActivity; | ||
import android.widget.TextView; | ||
|
||
import greendao.Match; | ||
|
||
|
||
public class MatchDetailsActivity extends ActionBarActivity { | ||
|
||
private Match match ; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_match_details); | ||
Match match = getIntent().getParcelableExtra("MATCH_ID"); | ||
TextView textView = (TextView) findViewById(R.id.data); | ||
if(match != null){ | ||
|
||
|
||
textView.setText(match.getT1()+" vs. "+match.getT2()); | ||
} | ||
else { | ||
textView.setText("No match found."); | ||
} | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.