Skip to content

Conversation

@drzraf
Copy link

@drzraf drzraf commented Apr 17, 2017

Please let me do this PR in order to open a discussion for such a feature : fetching a set of memory cards from remote URL.
Objective: adding new sets made easy and flexible

One the question (beside the feature itself), is the use of R.Drawable (int) rather BitmapDrawable. I'd appreciate opinions before making such an intrusive type change.
(I'm pretty much inexperienced in Android dev')

Commit text:

  • Internal Storage => no additional permission
  • Fetch from one URL (a XML file) so anyone can create/host its sets
  • Expected XML would contains:
<title>Title</title>
<verso>The URL of the PNG file defining the verso</verso>
<images>
  <image>The URL of a PNG file for an icon</verso>
  [...]
</images>

ATM the Tile* class use int from Resources rather than Drawable, that may need to
be changed.

…tion and store it to cache afterward.

* Internal Storage => no additionnal permission
* Fetch from one URL (a XML file) so anyone can create/host its sets
* Expected XML would contains:
<title>Title</title>
<verso>The URL of the PNG file defining the verso</verso>
<images>
  <image>The URL of a PNG file for an icon</verso>
  [...]
</images>

ATM the Tile* class use int from Resources rather than Drawable, that may need to
be changed.
@drzraf
Copy link
Author

drzraf commented May 11, 2017

ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant