Git Product home page Git Product logo

android-pulltorefresh-and-loadmore's People

Contributors

rishabhmhjn avatar sa010 avatar shiratsu avatar shontauro avatar wkbae avatar zgzong 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  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

android-pulltorefresh-and-loadmore's Issues

ScrollView + ListView , will it work ?

if i put listview inside scollview like,

<ScrollView>
  <RelativeLayout>
     <NestedScrollview>
        <RelativeLayout>
           //some other views are here...
        </RelativeLayout>
     </NestedScrollview>
 
     <ListView>
     </ListView>
 </RelativeLayout>
</ScrollView>

Disable tap to refresh

Hello,

How to disable tap to refresh and get the effect of only pull to refresh only.

Hide "Tap to refresh"

Hello,

Is there a way to hide tap by refresh and make this work using only pull to refresh?

Removing the OnLoadMoreListener

Hello,

Great lib!
I have just a question, after loading all my data, I would like to remove the OnLoadMoreListener of the listview as there are no more items to load.

Is that possible to achieve that?

List view Vibrates

Yea I know thats not a right word to use, but after load more gets completed when I want to go up in the listview it doesn't allow me to go up in one shot it just bounce itself and i have to scroll slowly to get up

The example project crashes.

The example project crashes when click on the buttons to display the corresponding listview. I have add the library project as a library to the example project, but stil get the crash, what have I done wrong? Is there a tutorial for me to follow? Thanks.

BAD listview scroll position

I user your library with both pull to refresh and load more (PullAndLoadListView).
I have a listview with base adapter and i use notifydatasetchanged.
I make this action
1- scroll with loadmore and the listview remain to the bottom
2- i scroll with pull to refresh the listview scroll to top ,
3- scroll with loadmore but listview always scroll to top.

why ?

Crash at Samsung Galaxy S III and similar

There is a mistake in PullToRefreshListView.java class which makes list unscrollable on Samsung Galaxy SIII and some other phones.

The problem lies in the following method:

@Override
protected void onAttachedToWindow() {
    setSelection(1);
}

You forgot to add super.onAttachedToWindow() call which leads to the erroneous behavour.
Please fix and update.

Error no constructor

11-27 17:43:19.458 7095-7095/br.com.belaapp.cliente E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{br.com.belaapp.cliente/com.costum.android.widget.LoadMoreListView}: java.lang.InstantiationException: can't instantiate class com.costum.android.widget.LoadMoreListView; no empty constructor
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2016)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117)
at android.app.ActivityThread.access$700(ActivityThread.java:134)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1218)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4867)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.InstantiationException: can't instantiate class com.costum.android.widget.LoadMoreListView; no empty constructor
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2007)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117)
            at android.app.ActivityThread.access$700(ActivityThread.java:134)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1218)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:4867)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
            at dalvik.system.NativeStart.main(Native Method)

Not working with empty data list

For the first time the app cannot reach the backend because of network failure, hence the data list for the adapter is empty. The listview is not shown up in the screen so there's no "pull to refresh" nor "tap to refresh" view. As consequence users have no way to refresh the listview to get data again.

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.