diff --git a/app/src/main/java/com/example/citrusclient/rest/PublicBooksRest.java b/app/src/main/java/com/example/citrusclient/rest/PublicBooksRest.java index da0cdb6..7d600f9 100644 --- a/app/src/main/java/com/example/citrusclient/rest/PublicBooksRest.java +++ b/app/src/main/java/com/example/citrusclient/rest/PublicBooksRest.java @@ -1,18 +1,20 @@ package com.example.citrusclient.rest; import com.example.citrusclient.models.Book; + +import java.util.ArrayList; + import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface PublicBooksRest { @GET("public_books") - Call getAllPublicBooks( - - ); + Call> getAllPublicBooks(); @GET("public_books/search") - Call searchBooksByTitleAndAccount( + + Call> searchBooksByTitleAndAccount( @Query("search_title") String search_title, @Query("search_account_id") String search_id, @Query("sort_by") int sort