-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: readme.md
- Loading branch information
Showing
29 changed files
with
306 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion
4
example/src/main/AndroidManifest.xml → sample/src/main/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
sample/src/main/java/com/musenkishi/paletteloader/sample/Countries.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.musenkishi.paletteloader.sample; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
|
||
/** | ||
* Sample countries | ||
* Created by frelus on 13/05/15. | ||
*/ | ||
public class Countries { | ||
|
||
public static final ArrayList<Country> countries = new ArrayList<>(Arrays.asList(new Country[]{ | ||
new Country("Sweden", "https://i.imgur.com/7VWkxxU.jpg"), | ||
new Country("Greece", "https://i.imgur.com/sH1yrJD.jpg"), | ||
new Country("France", "https://i.imgur.com/1Gt5ldY.jpg"), | ||
new Country("Japan", "https://i.imgur.com/ypGnx2q.jpg"), | ||
new Country("U.S.A.", "https://i.imgur.com/qfQGh.jpg"), | ||
new Country("China", "https://i.imgur.com/fpgPo.jpg"), | ||
new Country("Australia", "https://i.imgur.com/zW30U2O.jpg"), | ||
new Country("Egypt", "https://i.imgur.com/mXlezUD.jpg"), | ||
new Country("Haiti", "https://i.imgur.com/QS6Dx.jpg"), | ||
new Country("Zambia", "https://gp1.wac.edgecastcdn.net/806614/photos/photos.500px.net/86372017/b367fd0ce34e41f1b357b11942629e7c68dcfb8a/2048.jpg"), | ||
new Country("Chile", "https://i.imgur.com/DcTmjg4.jpg"), | ||
new Country("United Kingdom", "https://i.imgur.com/V0A6N3s.jpg"), | ||
new Country("Canada", "https://i.imgur.com/PLehguA.jpg") | ||
})); | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
sample/src/main/java/com/musenkishi/paletteloader/sample/Country.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.musenkishi.paletteloader.sample; | ||
|
||
/** | ||
* Created by frelus on 13/05/15. | ||
*/ | ||
public class Country { | ||
|
||
private String name, url; | ||
|
||
public Country(String name, String url) { | ||
this.name = name; | ||
this.url = url; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
} |
Oops, something went wrong.