Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4fce24d authored by kmccormick's avatar kmccormick Committed by Android Git Automerger
Browse files

am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.

* commit 'e16f4393':
  Doc Update: fixed unescaped angle brackets in code snippets.
parents cc883a1f e16f4393
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ mImageView = (ImageView) findViewById(R.id.myImage);

// Retrieves an image specified by the URL, displays it in the UI.
ImageRequest request = new ImageRequest(url,
    new Response.Listener<Bitmap>() {
    new Response.Listener&lt;Bitmap&gt;() {
        &#64;Override
        public void onResponse(Bitmap bitmap) {
            mImageView.setImageBitmap(bitmap);
@@ -257,7 +257,7 @@ mTxtDisplay = (TextView) findViewById(R.id.txtDisplay);
String url = "http://my-json-feed";

JsonObjectRequest jsObjRequest = new JsonObjectRequest
        (Request.Method.GET, url, null, new Response.Listener<JSONObject>() {
        (Request.Method.GET, url, null, new Response.Listener&lt;JSONObject&gt;() {

    &#64;Override
    public void onResponse(JSONObject response) {
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ String url ="http://www.google.com";

// Request a string response from the provided URL.
StringRequest stringRequest = new StringRequest(Request.Method.GET, url,
            new Response.Listener<String>() {
            new Response.Listener&lt;String&gt;() {
    &#64;Override
    public void onResponse(String response) {
        // Display the first 500 characters of the response string.