Giter Site home page Giter Site logo

omtodkar / shimmerrecyclerview Goto Github PK

View Code? Open in Web Editor NEW
234.0 1.0 32.0 1.89 MB

A custom Shimmer RecyclerView which adopt to list / grid transition automatically and also supports multiple view types while shimmering.

License: GNU General Public License v3.0

Java 77.34% Kotlin 22.66%
android recyclerview shimmer shimmer-android shimmer-recyclerview shimmer-layout shimmerlayout shimmerrecyclerview

shimmerrecyclerview's People

Contributors

hamzaahmedkhan avatar omtodkar 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

shimmerrecyclerview's Issues

Shimmer effect not working black screen is there

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Constraint Layout not supported

Shimmer layouts made in constrait layout fails to match the width of the parent.
the width is somehow smaller than the width of the parent.

Gradle is not able to resolve the 'implementation 'com.todkars:shimmer-recyclerview:0.4.1'.It is perfectly resolving the facebook shimmer effect.

Describe the bug
Gradle is not able to resolve the 'implementation 'com.todkars:shimmer-recyclerview:0.4.1'.It is perfectly resolving the facebook shimmer effect .
In the xml file I can use Shimmer frame layout but not able to use shimmer recycler view.
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'

  2. Click on '....'

  3. Scroll down to '....'

  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Screenshot (3)
Screenshot (2)

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Scroll listner is not working

Describe the bug
when registering a scroll listener (endless scroll listener part of this library: https://github.com/mikepenz/FastAdapter), it does not receive the events, when changing ShimmerRecyclerView to android RecyclerView (changed only in layout file, code is always same), it works fine.

To Reproduce
Steps to reproduce the behavior:
by Using EndlessRecyclerOnScrollListener of FasterAdapter (https://github.com/mikepenz/FastAdapter)

       //...
        appsAdapter = ItemAdapter() 
        fastAdapter = FastAdapter.with(appsAdapter)
  
        footerAdapter = items()

        val endlessRecyclerOnScrollListener =
            object : EndlessRecyclerOnScrollListener(footerAdapter) {
                override fun onLoadMore(currentPage: Int) {
                   Timber.d("load more items")
                   //....
                }
            }
 
        binding.recyclerView.apply {
            layoutManager =    LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false)
            adapter = fastAdapter 
            addOnScrollListener(endlessRecyclerOnScrollListener) 
        }

Expected behavior
The onLoadMore function of EndlessRecyclerOnScrollListener should be called when scrolling the bottom of recycler view

Smartphone :
Android api 29

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.