Created
November 24, 2015 17:14
-
-
Save devrath/6e4702e579a38a3e5d24 to your computer and use it in GitHub Desktop.
Parsing String to model object
This file contains hidden or 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
| private void plotAllThePoints() { | |
| InputStream source = new ByteArrayInputStream(mWord.getPatternMetaData().getBytes()); | |
| Reader reader = new InputStreamReader(source); | |
| retraceData = gson.fromJson(reader, DataSetTwo.class); | |
| Toast.makeText(ActDrawAreaTwo.this,retraceData.getStroke_points().get(0).getMain_dots().get(0).getDotOne().toString(),Toast.LENGTH_LONG).show(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment