Skip to content

🌔 MoonRefresh is a simple pull to refresh animation for Android completely written in Kotlin

License

Notifications You must be signed in to change notification settings

ApplikeySolutions/MoonRefresh

Repository files navigation

GitHub license Twitter

Made by Applikey Solutions

Alt text

Table of Contents

  1. Purpose
  2. Installation
  3. Usage
  4. Demo
  5. Release Notes
  6. Contact Us
  7. License

Purpose

MoonRefresh is a simple pull to refresh animation for Android completely written in Kotlin

Installation

compile 'com.github.applikeysolutions:moonrefresh:1.0.0'

Usage

 moonRefresh = findViewById(R.id.pull_to_refresh)
        moonRefresh.setOnRefreshListener(
                object : MoonRefresh.OnRefreshListener {
                    override fun onRefresh() {
                        moonRefresh.postDelayed({ moonRefresh.setRefreshing() }, 4_000)
                    }
                })
<applikeysolutions.com.moonrefresh.MoonRefresh
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:ballColor="@color/color..."
        app:finishColor="@color/color..."
        app:backgroundColor="@color/color...">
        
         <android.support.v7.widget.RecyclerView
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

    </applikeysolutions.com.moonrefresh.MoonRefresh>

Demo

Alt text

Release Notes

Version 1.0.0

  • Release version.

Contact Us

You can always contact us via [email protected] We are open for any inquiries regarding our libraries and controls, new open-source projects and other ways of contributing to the community. If you have used our component in your project we would be extremely happy if you write us your feedback and let us know about it!

License

MIT License

Copyright (c) 2017 Applikey Solutions

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.

About

🌔 MoonRefresh is a simple pull to refresh animation for Android completely written in Kotlin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published