Code Monkey home page Code Monkey logo

android-multistatelistview's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-multistatelistview's Issues

Refresh Button

Thanks for a great lib. Is it possible for you to add a refresh button to the empty and error layouts that can be called easily from the specific activity?

Update to Material Design

What about updating empty / error states to Material Design styling that also Google's apps use for quite a long time?

Swipe to refresh hides error layout

Hi,
When I implement your library for showing loading,error states in my listview and I combine it along with swipe to refresh functionality. The listview data is shown properly when the data is available. But when the listview is empty or loading, it simply hides the layout behind swipe to refresh layout. Do you have any suggestion on this one ? Thanks in advance.

Here's a piece of my code :

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:background="@android:color/white"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.yalantis.phoenix.PullToRefreshView
        android:id="@+id/pull_to_refresh"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

            <com.jensdriller.libs.multistatelistview.MultiStateListView
                android:id="@+id/shoppingList"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                custom:emptyView="@layout/list_empty"
                custom:errorView="@layout/list_error"
                custom:loadingView="@layout/list_loading"
                custom:layout_constraintBottom_toBottomOf="@+id/constraintLayout3"
                custom:layout_constraintLeft_toLeftOf="@+id/constraintLayout3"
                custom:layout_constraintRight_toRightOf="@+id/constraintLayout3"
                custom:layout_constraintTop_toTopOf="@+id/constraintLayout3"
                tools:layout_constraintBottom_creator="1"
                tools:layout_constraintLeft_creator="1"
                tools:layout_constraintRight_creator="1"
                tools:layout_constraintTop_creator="1" />


    </com.yalantis.phoenix.PullToRefreshView>

</FrameLayout>

The above is my layout file.

License?

What license is this released under? I want to use your library but can't unless there is a clear license.

Thanks!

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.