ElasticDownload Android Library
ElasticDownload Android Library
How to use ElasticDownload Android Library in eclipse :-
Step 1: Create a new Android Project
Step 2: Import Library to your Android Application Project
1: File->New->Other
2: Select Android Project
3: Select "Create Project from existing source"
4: Click "Browse and select ElasticDownload Android Library,
5: Finish
6: Right-click on your project -> Properties
7: In Android->Library section click Add
8: select recently added project -> Ok
9: that's it!
How To Use LolliPin Android Library :
Please Join our Facebook Group and Page
Facebook group: Android controls
Facebook page: Android Controls
Subscribe YouTube channel: Click here
SUBSCRIBE TO OUR EMAIL NEWSLETTER & RECEIVE UPDATES RIGHT IN YOUR INBOX. Click here
If You Have Any question or Suggestions Please Feel Free to Comments .
Description:- This Library provide a downloading animation(custom view, playing with canvas rotation and path drawing).
Min SDK: 8 (Android 2.2–2.2.3 Froyo).
Contributors: https://github.com/Tibolte/ElasticDownload/graphs/contributors
Step 1: Create a new Android Project
Step 2: Import Library to your Android Application Project
1: File->New->Other
2: Select Android Project
3: Select "Create Project from existing source"
4: Click "Browse and select ElasticDownload Android Library,
5: Finish
6: Right-click on your project -> Properties
7: In Android->Library section click Add
8: select recently added project -> Ok
9: that's it!
How To Use LolliPin Android Library :
Declare this view in your layout like below, it's also possible to inflate it manually.
<is.arontibo.library.ElasticDownloadView
android:id="@+id/elastic_download_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"/>
At first, call startIntro() to make the view be able to display any percentage:
@InjectView(R.id.elastic_download_view) ElasticDownloadView mElasticDownloadView;
mElasticDownloadView.startIntro();
Set any progress:
mElasticDownloadView.setProgress(25);
Notify if the download has failed or not:
mElasticDownloadView.success(); //This function moves the cursor to 100 if the progress has not been set already
mElasticDownloadView.fail();
Please Join our Facebook Group and Page
Facebook group: Android controls
Facebook page: Android Controls
Subscribe YouTube channel: Click here
SUBSCRIBE TO OUR EMAIL NEWSLETTER & RECEIVE UPDATES RIGHT IN YOUR INBOX. Click here
If You Have Any question or Suggestions Please Feel Free to Comments .
0 comments: