Projekte
Auf GitHub ansehen
THEONE10211024/WaterDropListView
Über uns
WaterDropListView wie unter iOS
Web- und App-EntwicklungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original#WaterDropListView
A powerful ListView with awesome pull-refresh and pull-on-loadmore function!
##PreView
##Usage
1.download the project
2.import it into your project as a lib.
3.use the “WaterDropListView” in your code,just like the normal ListView.
###Code
- Replace standard
ListViewwithmedusa.theone.waterdroplistview.view.WaterDropListViewin yourlayout.xmlfile.
<medusa.theone.waterdroplistview.view.WaterDropListView
android:id="@+id/waterdrop_listview"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</medusa.theone.waterdroplistview.view.WaterDropListView>
2.implements the WaterDropListView.IWaterDropListViewListener in your Activity or Fragment.
Public class MainActivity extends Activity implements WaterDropListView.IWaterDropListViewListener
When pulling to refresh,the ``` public void onRefresh()
When pulling to load moer,the ```
public void onLoadMore()
```will be called
3.Then you can use it just like the ListView.
##Summary
If you have any problem ,please let me know! Hope you like it!
[](https://android-arsenal.com/details/1/2078)
Ähnliche Projekte entdecken
Wird geladen…