(int i=0; i<=total.length()/4;我+ +)
如果(我* 4 + 4 & lt; total.length ())
新闻=新闻+ total.substring(我* 4,数学。分钟(我* 4 + 4,total.length ())) +“-”,
其他新闻=新闻+ total.substring(我* 4,数学。分钟(我* 4 + 4,total.length ())),
返回消息;
}
});
}
@Override公共布尔>/
/膨胀菜单;这将条目添加到操作栏是否存在。
getMenuInflater () .inflate (R.menu。主菜单);
返回true;
}
}