getLayoutText static method

String getLayoutText(
  1. int type
)

Implementation

static String getLayoutText(int type){
  if(type==ConstantParam.layoutSingle) {
    return ConstantText.layoutSingle;
  } else if(type==ConstantParam.layoutColum){
    return  ConstantText.layoutColum;
  } else if(type==ConstantParam.layoutGrid){
    return  ConstantText.layoutGrid;
  } else if(type==ConstantParam.layoutStack){
    return  ConstantText.layoutStack;
  }
  return  ConstantText.layoutRow;
}