Added Android code
[wl-app.git] / Android / app / src / main / java / com / moiseum / wolnelektury / view / search / BookSearchView.java
1 package com.moiseum.wolnelektury.view.search;
2
3 import android.content.Context;
4
5 import com.moiseum.wolnelektury.base.mvp.PaginableLoadingView;
6 import com.moiseum.wolnelektury.connection.models.BookModel;
7 import com.moiseum.wolnelektury.connection.models.CategoryModel;
8 import com.moiseum.wolnelektury.view.search.dto.FilterDto;
9
10 import java.util.List;
11
12 /**
13  * Created by piotrostrowski on 16.11.2017.
14  */
15
16 public interface BookSearchView extends PaginableLoadingView<List<BookModel>> {
17
18         void presentBookDetails(String bookSlug);
19
20         void applyFilters(List<CategoryModel> filters);
21
22         void displayFiltersView(FilterDto filters);
23
24         void updateFavouriteState(boolean state, Integer clickedPosition);
25
26         Context getContext();
27 }