From 174753d78cf01b6dfddfe927f2a0eb32c20b31f7 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Sat, 16 Feb 2019 19:42:20 +0400 Subject: [PATCH] Refactor presenters to the "presenters" package, fixed throttling text (tree level 3), added default image when no images. --- .idea/assetWizardSettings.xml | 129 ++++++++++++++++++ .idea/caches/gradle_models.ser | Bin 108688 -> 108688 bytes .../additional/ImagePagerAdapter.java | 8 +- .../FirstLevelNodeViewBinder.java | 2 +- .../SecondLevelNodeViewBinder.java | 2 +- .../ThirdLevelNodeViewBinder.java | 2 +- .../{ => presenters}/ItemPresenter.java | 3 +- .../{ => presenters}/MainPresenter.java | 3 +- .../{ => presenters}/SearchablePresenter.java | 3 +- .../{ => presenters}/ViewBinderPresenter.java | 3 +- .../vrcatalog/view/DetailActivity.java | 4 +- .../vrcatalog/view/MainActivity.java | 2 +- .../vrcatalog/view/SearchableActivity.java | 2 +- app/src/main/res/drawable/no_images.png | Bin 0 -> 748 bytes app/src/main/res/layout/third_level_item.xml | 2 +- 15 files changed, 151 insertions(+), 14 deletions(-) rename app/src/main/java/ru/volgorobot/vrcatalog/{ => presenters}/ItemPresenter.java (97%) rename app/src/main/java/ru/volgorobot/vrcatalog/{ => presenters}/MainPresenter.java (96%) rename app/src/main/java/ru/volgorobot/vrcatalog/{ => presenters}/SearchablePresenter.java (98%) rename app/src/main/java/ru/volgorobot/vrcatalog/{ => presenters}/ViewBinderPresenter.java (99%) create mode 100644 app/src/main/res/drawable/no_images.png diff --git a/.idea/assetWizardSettings.xml b/.idea/assetWizardSettings.xml index 56880e2..b600225 100644 --- a/.idea/assetWizardSettings.xml +++ b/.idea/assetWizardSettings.xml @@ -3,6 +3,135 @@