I hereby claim:
- I am ymow on github.
- I am ymow (https://keybase.io/ymow) on keybase.
- I have a public key ASACOonsaGWwIyu0Q7bW67irCuUradxY0YbQhEuIFt6ekwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package tw.andyang.memolock.utils; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapShader; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; | |
import com.bumptech.glide.load.resource.bitmap.BitmapTransformation; |
public class MusicFragment extends Fragment implements Handler.Callback { | |
/** | |
* New Instance | |
*/ | |
public static MusicFragment newInstance() { | |
fragment = new MusicFragment(); | |
Bundle args = new Bundle(); | |
fragment.setArguments(args); | |
return fragment; |
String jsonData = builder.toString(); | |
// JSONArray latest = null; | |
JSONObject json = new JSONObject(jsonData); | |
// JSONObject latest = json.getJSONObject("latest"); | |
// String time = new JSONObject(jsonData).getString("time"); | |
// String location = new JSONObject(jsonData).getString("location"); | |
// String content = new JSONObject(jsonData).getString("content"); | |
JSONArray time = latest.getJSONArray("time"); | |
// JSONArray location = latest.getJSONArray("location"); |