Search in sources :

Example 6 with ReaderTagList

use of org.wordpress.android.models.ReaderTagList in project WordPress-Android by wordpress-mobile.

the class ReaderTagTable method addOrUpdateTag.

public static void addOrUpdateTag(ReaderTag tag) {
    if (tag == null) {
        return;
    }
    ReaderTagList tags = new ReaderTagList();
    tags.add(tag);
    addOrUpdateTags(tags);
}
Also used : ReaderTagList(org.wordpress.android.models.ReaderTagList)

Aggregations

ReaderTagList (org.wordpress.android.models.ReaderTagList)6 ReaderTag (org.wordpress.android.models.ReaderTag)4 JSONObject (org.json.JSONObject)3 Cursor (android.database.Cursor)1 VolleyError (com.android.volley.VolleyError)1 RestRequest (com.wordpress.rest.RestRequest)1 JSONArray (org.json.JSONArray)1