-
-
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.
Kotlin weekly issue screen with basic presenter + VM and API integrat…
…ion.
- Loading branch information
1 parent
29ba821
commit 8eb709e
Showing
47 changed files
with
966 additions
and
211 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
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
13 changes: 13 additions & 0 deletions
13
.../src/main/java/io/github/reactivecircus/kstreamlined/android/feature/common/shareSheet.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,13 @@ | ||
package io.github.reactivecircus.kstreamlined.android.feature.common | ||
|
||
import android.content.Context | ||
import android.content.Intent | ||
|
||
public fun Context.openShareSheet(title: String, url: String) { | ||
val intent = Intent(Intent.ACTION_SEND).apply { | ||
type = "text/plain" | ||
putExtra(Intent.EXTRA_TITLE, title) | ||
putExtra(Intent.EXTRA_TEXT, url) | ||
} | ||
startActivity(Intent.createChooser(intent, null)) | ||
} |
File renamed without changes.
File renamed without changes.
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="error_message">Something went wrong. Please try again later.</string> | ||
<string name="empty_state_message">Nothing to see here.</string> | ||
</resources> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
plugins { | ||
id("kstreamlined.android.library") | ||
id("kstreamlined.android.library.compose") | ||
id("kstreamlined.ksp") | ||
} | ||
|
||
android { | ||
namespace = "io.github.reactivecircus.kstreamlined.android.feature.kotlinweeklyissue" | ||
buildFeatures { | ||
androidResources = true | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(project(":feature:common")) | ||
implementation(project(":kmp:data")) | ||
implementation(project(":kmp:presentation:kotlin-weekly-issue")) | ||
|
||
// Hilt | ||
implementation(libs.hilt.android) | ||
ksp(libs.hilt.compiler) | ||
} |
2 changes: 2 additions & 0 deletions
2
android/feature/kotlin-weekly-issue/src/main/AndroidManifest.xml
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,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest /> |
Oops, something went wrong.