Skip to content

Commit

Permalink
Update README and License
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcgill88 committed Dec 7, 2017
1 parent 38ef139 commit 9435537
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/build
/captures
.externalNativeBuild
.idea
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Kevin McGill
Copyright (c) 2017 Kevin McGill <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
3. Add XML
```xml
<com.mcgilldevtech.mcpicslider.McViewPager
android:id="@+id/vp"
android:id="@+id/mcViewPager"
android:layout_width="match_parent"
android:layout_height="400dp" />
```
Expand All @@ -57,3 +57,9 @@ mcPicSlider.adapter = McPicSliderAdapterFresco(
)
)
```
## Author

Kevin McGill, [email protected]

### License
McPicSlider-Android is available under the MIT license. See the LICENSE file for more info.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class McPicSliderAdapterFresco(context: Context,
init {
if (!Fresco.hasBeenInitialized()) {
Fresco.initialize(context)
Fresco.getImagePipeline().clearCaches()
}
}

Expand Down

0 comments on commit 9435537

Please sign in to comment.