From 08d0a46204199bd395cd69ec2a5e311967064421 Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Fri, 20 Aug 2021 21:35:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 1 + .../xyz/fycz/myreader/base/adapter2/Click.kt | 28 ++ .../base/adapter2/DiffRecyclerAdapter.kt | 215 +++++++++ .../myreader/base/adapter2/ItemAnimation.kt | 80 ++++ .../myreader/base/adapter2/ItemViewHolder.kt | 10 + .../myreader/base/adapter2/RecyclerAdapter.kt | 452 ++++++++++++++++++ .../adapter2/animations/AlphaInAnimation.kt | 18 + .../base/adapter2/animations/BaseAnimation.kt | 13 + .../adapter2/animations/ScaleInAnimation.kt | 21 + .../animations/SlideInBottomAnimation.kt | 13 + .../animations/SlideInLeftAnimation.kt | 14 + .../animations/SlideInRightAnimation.kt | 14 + .../fycz/myreader/entity/SearchBookBean.java | 18 + .../ui/activity/SearchBookActivity.java | 24 +- .../fycz/myreader/ui/adapter/SearchAdapter.kt | 432 +++++++++++++++++ .../ui/adapter/SearchBookAdapter.java | 3 +- .../ui/adapter/holder/FindBookHolder.java | 4 +- .../ui/adapter/holder/SearchBookHolder.java | 5 +- ...rch_book_item.xml => search_book_item.xml} | 0 19 files changed, 1339 insertions(+), 26 deletions(-) create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/Click.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/DiffRecyclerAdapter.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/ItemAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/ItemViewHolder.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/RecyclerAdapter.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/animations/AlphaInAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/animations/BaseAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/animations/ScaleInAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/animations/SlideInBottomAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/animations/SlideInLeftAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/base/adapter2/animations/SlideInRightAnimation.kt create mode 100644 app/src/main/java/xyz/fycz/myreader/ui/adapter/SearchAdapter.kt rename app/src/main/res/layout/{listview_search_book_item.xml => search_book_item.xml} (100%) diff --git a/.idea/misc.xml b/.idea/misc.xml index a1c50cb..eeb1974 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,6 +4,7 @@