Commit e74d2a31 by sikang

bug fix RecyclerViewHolder

parent 7ac98218
......@@ -65,7 +65,7 @@ public class RecyclerViewHolder extends RecyclerView.ViewHolder {
return (CheckBox) getView(viewId);
}
public void setStringFormat(int viewId, String... text) {
public void setStringFormat(int viewId, Object... text) {
String formatStr = getTextView(viewId).getText().toString();
getTextView(viewId).setText(String.format(formatStr, text));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment