-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from tasomaniac/configure-redesign
Configure redesign
- Loading branch information
Showing
96 changed files
with
864 additions
and
659 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Binary file added
BIN
+42 KB
app/src/play/play/listings/en-US/graphics/feature-graphic/3828398611086444906.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+36.6 KB
app/src/play/play/listings/en-US/graphics/icon/7577727471956980575.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+87.7 KB
...rc/play/play/listings/en-US/graphics/phone-screenshots/10187161066853719353.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+92.9 KB
...src/play/play/listings/en-US/graphics/phone-screenshots/3413748386028831434.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+518 KB
...src/play/play/listings/en-US/graphics/phone-screenshots/9170821796029918571.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
app/src/play/play/en-US/whatsnew → ...play/play/release-notes/en-US/default.txt
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
15 changes: 0 additions & 15 deletions
15
base/src/main/kotlin/com/tasomaniac/devwidget/ViewModelProvider.kt
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
base/src/main/kotlin/com/tasomaniac/devwidget/ViewModelProviderModule.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,17 @@ | ||
package com.tasomaniac.devwidget | ||
|
||
import androidx.fragment.app.FragmentActivity | ||
import androidx.lifecycle.ViewModelProviders | ||
import dagger.Module | ||
import dagger.Provides | ||
|
||
@Module | ||
object ViewModelProviderModule { | ||
|
||
@Provides | ||
@JvmStatic | ||
fun viewModelProvider( | ||
activity: FragmentActivity, | ||
factory: ViewModelFactory | ||
) = ViewModelProviders.of(activity, factory) | ||
} |
19 changes: 0 additions & 19 deletions
19
base/src/main/kotlin/com/tasomaniac/devwidget/extensions/Debouncer.kt
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
base/src/main/kotlin/com/tasomaniac/devwidget/navigation/CommonNavigation.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,6 @@ | ||
package com.tasomaniac.devwidget.navigation | ||
|
||
fun widgetConfigureCommand(appWidgetId: Int) = | ||
UriCommand("devwidget://configure?appWidgetId=$appWidgetId") | ||
|
||
fun settingsCommand() = UriCommand("devwidget://settings") |
11 changes: 11 additions & 0 deletions
11
base/src/main/kotlin/com/tasomaniac/devwidget/navigation/UriCommand.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,11 @@ | ||
package com.tasomaniac.devwidget.navigation | ||
|
||
import android.content.Context | ||
import android.content.Intent | ||
import android.net.Uri | ||
|
||
data class UriCommand(val uri: String) : IntentCommand { | ||
override fun createIntent(context: Context): Intent = | ||
Intent(Intent.ACTION_VIEW, Uri.parse(uri)) | ||
.setPackage(context.packageName) | ||
} |
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
Oops, something went wrong.