race604 / flyrefresh Goto Github PK
View Code? Open in Web Editor NEWThe implementation of https://dribbble.com/shots/2067564-Replace
License: MIT License
The implementation of https://dribbble.com/shots/2067564-Replace
License: MIT License
change data.time ---> data.date.getTime()
public void onBindViewHolder(ItemViewHolder itemViewHolder, int i) {
final ItemData data = mDataSet.get(i);
ShapeDrawable drawable = new ShapeDrawable(new OvalShape());
drawable.getPaint().setColor(data.color);
itemViewHolder.icon.setBackgroundDrawable(drawable);
itemViewHolder.icon.setImageResource(data.icon);
itemViewHolder.title.setText(data.title);
itemViewHolder.subTitle.setText(dateFormat.format(data.date.getTime()));
}
hi dear. thanks you for this projects
it's awesome, but please insert Gradle code for use easily this project
tnx <3
Hello, can add the load more, if you can, will there be a conflict between the transaction
Is there any way to do this?
Caused by: java.lang.RuntimeException: Failed to resolve attribute at index 6
at android.content.res.TypedArray.getColorStateList(TypedArray.java:425)
at android.support.design.widget.FloatingActionButton.(FloatingActionButton.java:91)
at android.support.design.widget.FloatingActionButton.(FloatingActionButton.java:79)
at android.support.design.widget.FloatingActionButton.(FloatingActionButton.java:75)
at com.race604.flyrefresh.PullHeaderLayout.setActionDrawable(PullHeaderLayout.java:151)
at com.race604.flyrefresh.FlyRefreshLayout.onFinishInflate(FlyRefreshLayout.java:58)
非常感谢你提供的优秀的源码,经测试,发现了如题目所描述的小问题
public int move(float deltaY) {
float willTo;
float consumed = deltaY;
if (mScroll >= 0) {
willTo = mScroll + deltaY;
if (willTo < 0) {
...
}
} else if (willTo > mMaxHegiht) { //---------------->改成else if(willTo>mMaxScroll)解决了问题
consumed -= willTo - mMaxScroll;
willTo = mMaxScroll;
}
} else {
...
}
...
}
this is can used to webview?
webview need NestChild?
any solution?
The background isnt what i want.how to change it?
like this(I use JCenter By Gradle ):
xxx/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.0/res/values-v23/values-v23.xml
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/xxx/Developer/IDE/Android/adt-bundle-mac/sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 1.197 secs
Information:3 errors
Information:0 warnings
Information:See complete output in console
Hola! @flyerpan has created a ZenHub account for the race604 organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
ZenHub adds a series of enhancements directly inside the GitHub UI:
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @flyerpan.
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.