scwang90/SmartRefreshLayout ? reverse-engineered prompt
Reverse engineered prompt
Build me an Android refresh component like SmartRefreshLayout that I can drop into an app for pull to refresh and load more.
I want it to work smoothly with common scrolling views like RecyclerView, ListView, WebView, and nested layouts, and handle overscroll with nice bounce back behavior. It should support both a normal refresh at the top and loading more at the bottom, plus a two level refresh mode like a second page or special panel. Please include a few polished header and footer styles, something simple, something material, and a couple of fun ones so the demo feels impressive.
Make sure it works with AndroidX, keeps performance in mind, and is easy to customize in code and XML. If you need to, look up current docs online for any Android details, but keep the result clean and ready to use. Also include a small demo app that shows the main behaviors clearly so I can test it right away.
Are you gonna build this?
make sure you review the code using coderabbit