Back to project page ReadabilitySDK.
The source code is released under:
MIT License
If you think the Android project ReadabilitySDK 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 com.idemidov.readability.command.params_builders; /*from ww w . j a v a 2s .c o m*/ import org.apache.http.message.BasicNameValuePair; public class UpdateBookmarkByIdParamsBuilder extends BasicParamsBuilder { public UpdateBookmarkByIdParamsBuilder addFavorite(boolean isFavorite) { addBoolean("favorite", isFavorite); return this; } public UpdateBookmarkByIdParamsBuilder addArchive(boolean isArchived) { addBoolean("archive", isArchived); return this; } public UpdateBookmarkByIdParamsBuilder addReadPercent(double readPercent) { params.add(new BasicNameValuePair("read_percent", String.valueOf(readPercent))); return this; } }