Android-LoopView
自定义无限轮转控件
Android-LoopView: a banner that rotates without end
Android LoopView is a rotation banner widget for Android apps, brought in through Gradle, declared as BannerView in layout XML, and licensed under Apache 2.0.
What the widget does
LoopView is a rotation widget for Android. The README calls it powerful and pitches it for unlimited picture rotation, with configuration options for controlling the look and behaviour. In practice it is a drop in banner that cycles through images without an obvious end, which is what most apps using it are after. It is built to be reusable rather than tied to one screen.
Adding it with Gradle
Integration is a one liner for Gradle users. Add the dependency to the dependencies section of the build.gradle file and the widget becomes available to the app. That is the standard path, and the README offers nothing more complicated for the common setup.
Declaring it in XML
In the layout, the component is declared as BannerView. Custom layouts have to keep specific ids in place: the pager id for the view pager, the dots id for the indicator's parent linear layout, and the desc id for the description text view. The widget wires itself together through those ids, so renaming any of them breaks the connection.
The license
The project is released under the Apache License, Version 2.0, with the standard text in the README. Software is distributed on an as is basis without warranties of any kind, which is the usual boilerplate for an Android library.
Editorial conclusion
Android LoopView is a rotation banner for Android, configured through Gradle and declared in XML as BannerView. Custom layouts must keep its expected ids, and the code is Apache 2.0 licensed.
Community notes