This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Decoupling fragments with LocalBroadcast for KeyDown events
- Loading branch information
1 parent
5b14825
commit 71e4de2
Showing
5 changed files
with
50 additions
and
36 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
8 changes: 8 additions & 0 deletions
8
app/src/main/java/de/markhaehnel/rbtv/rocketbeanstv/util/Constants.kt
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,8 @@ | ||
package de.markhaehnel.rbtv.rocketbeanstv.util | ||
|
||
class Constants { | ||
companion object { | ||
val BROADCAST_KEYDOWN = "BROADCAST_KEYDOWN" | ||
val BROADCAST_KEYDOWN_KEY_CODE = "BROADCAST_KEYDOWN_KEY_CODE" | ||
} | ||
} |
7 changes: 0 additions & 7 deletions
7
app/src/main/java/de/markhaehnel/rbtv/rocketbeanstv/util/FragmentInterface.kt
This file was deleted.
Oops, something went wrong.