Skip to content

This is a reader supporting the advertising business, with pages able to directly add any custom View layout, including video Views.

License

Notifications You must be signed in to change notification settings

Western-parotia/BookViewProject

Repository files navigation

中文文档

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:

Android-.2023-04-04.10.26.04.mp4

simple_view

Usage

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

About

This is a reader supporting the advertising business, with pages able to directly add any custom View layout, including video Views.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published