Skip to content

Commit

Permalink
Applies lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LloydBlv committed Feb 23, 2024
1 parent 7c883c9 commit c50f185
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# 📸 FlickrSearch
[![Android CI](https://github.com/LloydBlv/FlickrSearch/actions/workflows/android.yml/badge.svg)](https://github.com/LloydBlv/FlickrSearch/actions/workflows/android.yml)

This is a sample app using Flickr API and Jetpack components (LiveData, ViewModel, ...).
This is a sample app using Flickr API and Jetpack components (LiveData, ViewModel, ...).

The purpose of this app is to try new Android technologies and learn how it works and how it can be used in an app.

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/item_search_result_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
android:layout_height="96dp"
app:imageUrl="@{photo.url}"
android:scaleType="centerCrop"
android:contentDescription="@string/search_result_image"
tools:srcCompat="@tools:sample/avatars" />

<TextView
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
<string name="press_on_search_button">Press on search button in the toolbar above to start searching</string>
<string name="something_went_wrong">Something went wrong :(</string>
<string name="search_has_no_result">Your search did not have any result :(</string>
<string name="search_result_image">search result image</string>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ abstract class SearchModule {
abstract fun providePhotoUrlMapper(photoUrlMapper: FlickrPhotoUrlMapper): Mapper<FlickrPhotoDto, PhotoUrl>

companion object {
@JvmStatic
@Provides
@Singleton
fun provideSearchApi(retrofit: Retrofit): SearchApi {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
accompanist = "0.35.0-alpha"
agp = "8.4.0-alpha10"
agp = "8.4.0-alpha11"
androidTools = "31.2.2"
androidDesugarJdkLibs = "2.0.4"
androidx-activity = "1.9.0-alpha03"
Expand Down

0 comments on commit c50f185

Please sign in to comment.