Compare commits

...

2 Commits

Author SHA1 Message Date
santi 2566402280 Mejora de xml para que se vea mucho mas formal! 2025-05-30 04:28:32 +02:00
santi 400b290ffc Mejora de xml para que se vea mucho mas formal! 2025-05-30 04:22:51 +02:00
4 changed files with 2 additions and 11 deletions

View File

@ -56,9 +56,6 @@ public interface ApiService {
@POST("anime/add")
Call<ApiResponse> insertAnime(@Body AnimeEntity anime);
@GET("anime/list/{userId}")
Call<List<AnimeEntity>> getAnimeByUser(@Path("userId") int userId);
// Scroll infinito: obtener lista paginada
@GET("/anime/list/{userId}")
Call<AnimePageResponse> getAnimes(
@ -67,9 +64,6 @@ public interface ApiService {
@Query("size") int size
);
@GET("anime/airing")
Call<List<AnimeEntity>> getAiringAnime();
@PUT("anime/{id}")
Call<ApiResponse> updateAnime(@Path("id") int animeId, @Body AnimeEntity anime);
@ -80,9 +74,6 @@ public interface ApiService {
@POST("manga/add")
Call<ApiResponse> insertManga(@Body MangaEntity manga);
@GET("manga/list/{userId}")
Call<List<MangaEntity>> getMangaByUser(@Path("userId") int userId);
@GET("/manga/list/{userId}")
Call<MangaPageResponse> getMangas(
@Path("userId") int userId,

View File

@ -140,7 +140,6 @@ public class AddAnimeFragment extends Fragment {
anime.setUserId(userId);
anime.setTitle(selected.getTitle());
// Si no hay imagen, se usa una predeterminada
if (selected.getImageUrl() == null || selected.getImageUrl().isEmpty()) {
selectedImageUrl = "android.resource://" + requireContext().getPackageName() + "/" + R.drawable.sample_cover;
} else {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 233 B

View File

@ -84,7 +84,8 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/ic_comment"
app:tint="@color/gray" />
app:tint="@color/gray"
android:backgroundTint="@color/primary"/>
</LinearLayout>
<LinearLayout