BookViewProject
Introduction: 基于 RecyclerView,实现业务侧的数据与 Item 布局即可(包括广告 view)。无需关心阅读器动画与 Item 动画渲染的交互。(不包含文字的处理,以后应该也不会添加)
Tags:
This is a reader project for the Android platform. It is based on a custom RecyclerView within a ViewGroup and uses a custom LayoutManager. By arranging elements along the Z-axis, it achieves complete separation of reader animations and data binding, allowing for full customization of the ItemView.
It also supports embedding image and video advertisements. Please see the video below for an example of the effects:
Just like using a regular RecyclerView:
bookView.setAdapter(RecyclerView.Adapter)
bookView.setFlipMode(@BookLayoutManager.BookFlipMode)
Directory structure
app module:BookView demo
gpu_test module:A demo of pure curl animations