recruit-lifestyle / waveswiperefreshlayout Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://engineer.recruit-lifestyle.co.jp/techblog/2015-08-03-swipe-refresh-layout/
License: Apache License 2.0
Home Page: http://engineer.recruit-lifestyle.co.jp/techblog/2015-08-03-swipe-refresh-layout/
License: Apache License 2.0
Support pull up load more
Can i change the refreshing from the top to the botton? (instead up/down refreshing down/up)
You Have Example for recyclerView ?
Hello there
When you change the orientation of the phone - from landscape to portrait or vice versa while the drop is loading, it disappears. Shouldn't it rotate with the screen?
Regards,
Hi can this lib used as a pull to load more ,puting the animation in the end
Really nice work! beautiful animation. I wonder if it is possible to change the color of pull color and progress bar color? Thank you!
Even during horizontal scroll we cannot expect the user to scroll at the perfect horizontal direction and even minute distortion in the swiping angles causes the layout to reload.
I want to use the layout in fullscreen mode with transparent toolbar and statusbar, where the content is visible underneath the toolbar and statusbar. So I would need the SwipeResfreshLayout
to fill the screen (because it's scrollable content fills the screen as well and is visible underneath the toolbar and statusbar), but the wave animation should start underneath the toolbar.
Is this somehow possible?
Hi, thanks for giving this pretty library first.
I wanna get a polka dot you made and give a click listener.
Can you make getCircleView method in public?
Please~~
Thanks!
It keeps showing loading dialog, how to hide it once my task is over?
> Could not find swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/androidx/swiperefreshlayout/swiperefreshlayout/1.0.0/swiperefreshlayout-1.0.0.aar
compile is deprecated so i feel it should be changed to inplementation in the ReadMe
I couldn't find a way to change the color of the background and the arrow, can you help me out with it?
Wave freezes on content refresh
The library is very cool but I think it needs a small Wiki page or more documentation to know what customization we can do with it, for example changing the wave color, setting the drop height etc,
Error:Could not find com.github.recruit-lifestyle:WaveSwipeRefreshLayout:1.6.
Required by:
weatherApp:app:unspecified
Search in build.gradle files
In my screen I have a recyclerview and the recyclerview is placed in the middle of the screen. That's why while I am pulling for refresh the drop goes under the screen that is not visible to user. I want to show the drop in the visible screen.
Any help will be appreciated.
thanks for this beautiful library :)
is it possible to refresh a list from bottom of it?
<jp.co.recruit_lifestyle.android.widget.WaveSwipeRefreshLayout
android:id="@+id/main_swipe"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.marshalchen.ultimaterecyclerview.UltimateRecyclerView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:recyclerviewScrollbars="vertical" />
</jp.co.recruit_lifestyle.android.widget.WaveSwipeRefreshLayout>
This could be an enhancement, forgive me if its already been done and point me to the resource.
Scroll when refreshing why
<mn.slide.ubinfo.view.pulltorefresh.WaveSwipeRefreshLayout
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.marshalchen.ultimaterecyclerview.UltimateRecyclerView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical" />
</mn.slide.ubinfo.view.pulltorefresh.WaveSwipeRefreshLayout>
I have another problem. I use the view in a fragment and show the loading circle from code sometimes. This works fine until I rotate the device. Then the circle is not showing if i manually enable the refreshing (although the isRefreshing
function returns true). But if I shortly pull down the wave view, then the loading circle is working again and I can enable refreshing from code again without issues.
So basically, after recreating the fragment I can't use the manual refreshing from code until I at least once pulled down the wave view...
You Have Example for recyclerView ?
Bug with swipe viewHolder left or right. Not correcty work onTouchEvent
只能自己修改去除了,,郁闷
How to remove the black border, incomplete display that look ugly。
According to the screen size the size of refresh is changed. If change the screen in landscape mode the drop down and refresh progress size is increased. how can I fix the size?
It seems like the view has it's own background... When using a transparent color for the wave, I can't see what's behind the wave but it looks like seeing the default background behind it...
I have a "workaround" for now, just using a solid color and make the WaveView
transparent itself works.
int transparency = 200;
Color cSolid = Color.rgb(255, 0, 0);
Color c = Color.argb(transparancy, 255, 0, 0);
Not working
srl.setWaveColor(c);
Working
srl.setWaveColor(cSolid);
try
{
Field field = WaveSwipeRefreshLayout.class.getDeclaredField("mWaveView");
field.setAccessible(true);
View view = (View)field.get(srl);
view.setAlpha((float)transparency/255f);
}
catch (NoSuchFieldException e)
{
e.printStackTrace();
}
catch (IllegalAccessException e)
{
e.printStackTrace();
}
I'm trying to enable and disable the swipe refresh layout like following:
srl.post(() -> srl.setEnabled(false));
This works 100% reliable, if I use a default swipe refresh layout but fails very often, if I use the WaveSwiperefreshLayout
(fails means, the layout is still enabled after calling the function).
Any ideas how to solve that?
The problem is, that you use setEnabled
internally as well to temporarily disable the view...
Great library.
How can I use another color for the drop, instead of blue?
I am using your library and I found something not working perfectly for me so I made some improvements.
The most annoying thing is that if I pull down the list so that it is in DROPPING
state, but my finger is still touching the screen and moving, the state will keep transitioning between EXPANDING
and DROPPING
.
@IdRes
should be @ColorRes
in some placesDROPPING
and touch state is movingHow can I use this color as that (a, r, g, b)
#7b4bff
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.