diff --git a/apk/News.apk b/apk/News.apk index 3973d06..d6ee7f1 100644 Binary files a/apk/News.apk and b/apk/News.apk differ diff --git a/app/build.gradle b/app/build.gradle index 305cde4..93904bb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,7 +26,6 @@ android { // to use this app // A valid key will need to be entered buildConfigField("String", 'API_KEY', API_KEY) -// buildConfigField('String' , 'myParameter', 'someValue') } @@ -44,9 +43,6 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } -// buildTypes.each { -// it.buildConfigField 'String', 'API_KEY', API_KEY -// } } diff --git a/app/src/main/java/com/example/newsapp/SavedNewsActivity.kt b/app/src/main/java/com/example/newsapp/SavedNewsActivity.kt index ad507ed..490db38 100644 --- a/app/src/main/java/com/example/newsapp/SavedNewsActivity.kt +++ b/app/src/main/java/com/example/newsapp/SavedNewsActivity.kt @@ -57,6 +57,7 @@ class SavedNewsActivity : AppCompatActivity() { intent.putExtra(MainActivity.NEWS_DESCRIPTION, newsData[position].description) intent.putExtra(MainActivity.NEWS_SOURCE, newsData[position].source) intent.putExtra(MainActivity.NEWS_PUBLICATION_TIME, newsData[position].time) + intent.putExtra(MainActivity.NEWS_CONTENT, newsData[position].content) startActivity(intent) }