Back to project page Dumbledroid.
The source code is released under:
Copyright (c) 2013, Leocadio Tin? All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project Dumbledroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.leocad.dumbledoreexample.models; /*w w w. j a v a 2s . com*/ import io.leocad.dumbledroid.data.AbstractModel; import io.leocad.dumbledroid.data.DataType; public class Jedi extends AbstractModel { private static final long serialVersionUID = 1L; public String name; public String surname; public String ability; public String master; public String father; public Jedi() { super("https://dl.dropbox.com/u/5135185/dumbledroid/jedi.json", 15 * 60 * 1000); //15 min cache } @Override protected DataType getDataType() { return DataType.JSON; } }