public void collapse()
{
isShow = false;
this.childView.setVisibility(View.GONE);
this.right.setImageResource(R.drawable.android_order_trace_info_more);
}
public void expand()
{
isShow = true;
this.childView.setVisibility(View.VISIBLE);
this.right.setImageResource(R.drawable.android_order_trace_info_less);
}
//是否显示加载字符
public void setTitleSuffix(boolean paramIsLoading)
{
this.isLoading = paramIsLoading;
TextView localTextView = this.titleView;
String str_Loading = this.context.getResources().getString(R.string.loading);
String str_empty = "";
if(isLoading){
localTextView.setText(localTextView.getText().toString() + str_Loading);
}else{
String str_title= getTitle();
str_title.replace(str_Loading, str_empty);
localTextView.setText(str_title);
}
}
}