DI refactoring

This commit is contained in:
Koitharu
2020-10-18 19:05:15 +03:00
parent fb60b26f08
commit 56e145420c
164 changed files with 735 additions and 637 deletions

View File

@@ -15,7 +15,7 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<org.koitharu.kotatsu.ui.common.widgets.CoverImageView
<org.koitharu.kotatsu.ui.base.widgets.CoverImageView
android:id="@+id/imageView_cover"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -6,12 +6,12 @@
android:background="?selectableItemBackground"
android:orientation="horizontal">
<org.koitharu.kotatsu.ui.common.widgets.CoverImageView
<org.koitharu.kotatsu.ui.base.widgets.CoverImageView
android:id="@+id/imageView_cover"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:orientation="vertical" />
android:orientation="vertical"
android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="match_parent"

View File

@@ -15,12 +15,12 @@
android:layout_height="match_parent"
android:orientation="horizontal">
<org.koitharu.kotatsu.ui.common.widgets.CoverImageView
<org.koitharu.kotatsu.ui.base.widgets.CoverImageView
android:id="@+id/imageView_cover"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:orientation="vertical" />
android:orientation="vertical"
android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="match_parent"
@@ -90,8 +90,8 @@
android:layout_height="wrap_content"
android:drawablePadding="4dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
tools:text="10/10"
app:drawableStartCompat="@drawable/ic_star_rating" />
app:drawableStartCompat="@drawable/ic_star_rating"
tools:text="10/10" />
</LinearLayout>

View File

@@ -6,7 +6,7 @@
android:layout_height="wrap_content"
android:background="?attr/scrimBackground">
<org.koitharu.kotatsu.ui.common.widgets.CoverImageView
<org.koitharu.kotatsu.ui.base.widgets.CoverImageView
android:id="@+id/imageView_thumb"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -28,7 +28,7 @@
android:textColor="?android:attr/textColorPrimary"
tools:text="@tools:sample/lorem[1]" />
<org.koitharu.kotatsu.ui.common.widgets.CheckableImageView
<org.koitharu.kotatsu.ui.base.widgets.CheckableImageView
android:id="@+id/imageView_hidden"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@@ -15,7 +15,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<org.koitharu.kotatsu.ui.common.widgets.CoverImageView
<org.koitharu.kotatsu.ui.base.widgets.CoverImageView
android:id="@+id/imageView_cover"
android:layout_width="87dp"
android:layout_height="wrap_content"