Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
codeestX committed Feb 4, 2017
1 parent f176922 commit 34c5728
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ Java Code:

mEcardflow.shrink();

mEcardflow.isExpanding();

mEcardflow.setTouchSlop(slop);

mEcardflow.setExpandTime(time);
Expand Down Expand Up @@ -143,8 +145,8 @@ Step 4. setAnimMode & setImageProvider
mVPLayout.setImageProvider(new DrawableImageProvider(this, res, width, height);

* Set AnimMode before Set ImageProvider
* See DemoProject for more details
* Use `mVPLayout.onDestroy();` to release source
* See DemoProject for more details

Attrs:

Expand All @@ -153,6 +155,21 @@ Attrs:
<attr name="switchAnimTime" format="integer" />
</declare-styleable>

Java Code:

mVPLayout.setImageProvider(imageProvider);
mVPLayout.setAnimMode(animMode);
mVPLayout.setSwitchAnimTime(time);
//maxSize = Runtime.getRuntime().maxMemory();
//default: maxSize / 5
//min: maxSize / 8
mVPLayout.setCacheSize(megabytes);
mVPLayout.onDestroy();


| AnimMode | Des |
|:-------------:|:-------------:|
Expand Down

0 comments on commit 34c5728

Please sign in to comment.