Giter Site home page Giter Site logo

simpleinfinitecarousel's Introduction

SimpleInfiniteCarousel

A sample to show how to make a simple infinite carousel with ViewPager on Android

http://tech.leolink.net/2013/02/create-simple-infinite-carousel-in.html

======================

Update on 2016/08/04

I'm glad this sample helped some forks out there.

Unfortunately I don't have much time to maintain/support this, please don't contact me directly, just create issues, I will might be able to fix them at some point in the future.

simpleinfinitecarousel's People

Contributors

ergunkocak avatar mrleolink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simpleinfinitecarousel's Issues

Not scaling from right side to middle

Hi!

I've implemented your code into a project, but the scaling is off. If the mf view slides in/out from/to the right, no scaling is applied. But if the view goes to the left of the screen, there is scaling.

How to fix this and apply scaling from the right side as well?

Convert into library

I found your project very interesting and like to suggest that you should convert the application into a library. This will allow to use it in other applications without copying the source code.
If you need help with the migration to Gradle or deployment of the library to Maven Central or jCenter do not hesitate to contact me.

getRootView returns null when used with FragmentStatePagerAdapter

I want to update fragment dynamically but its not work with FragmentPagerAdapter so i just change it to FragmentStatePagerAdapter but issue is that getRootView() returns null when used with FragmentStatePagerAdapter.so how to get below method to work when used FragmentStatePagerAdapter.

private MyLinearLayout getRootView(int position)
{
        return (MyLinearLayout) 
                fm.findFragmentByTag(this.getFragmentTag(position))
                .getView().findViewById(R.id.root);
}

or suggest me demo to update fragment dynamically with for SimpleInfiniteCarousel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.