# MyCoverTest **Repository Path**: zouyue/MyCoverTest ## Basic Information - **Project Name**: MyCoverTest - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-16 - **Last Updated**: 2024-06-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Project Status: Suspended - Initial development has started, but there has not yet been a stable, usable release; work has been stopped for the time being but the author(s) intend on resuming work.](http://www.repostatus.org/badges/0.1.0/suspended.svg)](http://www.repostatus.org/#suspended) Coverflow ============= ### Description Android CoverFlow widget with demo. Forked from [applm/ma-components](https://github.com/applm/ma-components). ### Screenshot ![Demo](art/screenshot.png) ### Code Samples For example, in your layout: ```xml ``` then in your Activity: ```java mCoverFlow = (FeatureCoverFlow) findViewById(R.id.coverflow); mCoverFlow.setAdapter(mAdapter); mCoverFlow.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView parent, View view, int position, long id) { //TODO CoverFlow item clicked } }); mCoverFlow.setOnScrollPositionListener(new FeatureCoverFlow.OnScrollPositionListener() { @Override public void onScrolledToPosition(int position) { //TODO CoverFlow stopped to position } @Override public void onScrolling() { //TODO CoverFlow began scrolling } }); ``` ### Quick Start CoverFlow is pushed to Maven Central as a AAR, so you just need to add the following dependency to your `build.gradle`: dependencies { compile 'com.github.moondroid.coverflow:library:1.0' } ### License ``` The MIT License (MIT) Copyright (c) 2014 Marco Granatiero Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ```