|
|
|
@ -207,6 +207,7 @@ public class TaskRabbitControlSet extends TaskEditControlSet implements Assigned
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
public void updateDisplay(JSONObject json) {
|
|
|
|
public void updateDisplay(JSONObject json) {
|
|
|
|
|
|
|
|
if (fragment.getActivity() != null) {
|
|
|
|
String stateKey = fragment.getActivity().getString(R.string.tr_attr_state_label);
|
|
|
|
String stateKey = fragment.getActivity().getString(R.string.tr_attr_state_label);
|
|
|
|
if (json != null && json.has(stateKey)) {
|
|
|
|
if (json != null && json.has(stateKey)) {
|
|
|
|
String status = json.optString(stateKey);
|
|
|
|
String status = json.optString(stateKey);
|
|
|
|
@ -223,6 +224,7 @@ public class TaskRabbitControlSet extends TaskEditControlSet implements Assigned
|
|
|
|
getDisplayView().setVisibility(View.GONE);
|
|
|
|
getDisplayView().setVisibility(View.GONE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void updateStatus(JSONObject json){
|
|
|
|
protected void updateStatus(JSONObject json){
|
|
|
|
|