public class MainActivity extends Activity implements View.OnClickListener{
private ListView lv;
private List list;
private DatasAdapter adapter;
private int page = 1;
private Handler mHandler=new Handler(){
@Override
public void handleMessage(Message msg) {
page++;
String result = msg.obj.toString();
Data data =new Gson().fromJson(result,Data.class);
list.addAll(data.getTngou());
adapter.notifyDataSetChanged();
}
};
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
lv=(ListView)findViewById(R.id.lv);
list=new ArrayList();
adapter=new DatasAdapter(this,list);
lv.setAdapter(adapter);
}
@Override
public void onClick(View v) {
switch (v.getId()){
case R.id.get:
new Thread(){
@Override
public void run() {
get();
}
}.start();
break;
case R.id.post:
new Thread(){
@Override
public void run() {
post();
}
}.start();
break;
}
}
private void get() {
String urlPath = "http://www.tngou.net/api/cook/list?rows=10&page=";
HttpClient client =new DefaultHttpClient();
HttpGet httpGet=new HttpGet(urlPath+page);
try {
HttpResponse httpResponse=client.execute(httpGet);
if(httpResponse.getStatusLine().getStatusCode()==200){
HttpEntity entity = httpResponse.getEntity();
String result = EntityUtils.toString(entity);
Log.e("get", "get: "+result);
if(result!=null){
Message msg=Message.obtain();
msg.what=1;
msg.obj=result;
mHandler.sendMessage(msg);
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
private void post() {
String urlPath = "http://www.tngou.net/api/cook/list";
HttpClient client=new DefaultHttpClient();
HttpPost post=new HttpPost(urlPath);
BasicNameValuePair nameValuePairPage=new BasicNameValuePair("page","1");
BasicNameValuePair nameValuePairRRows=new BasicNameValuePair("rows","10");
try {
List list=new ArrayList();
list.add(nameValuePairPage);
list.add(nameValuePairRRows);
UrlEncodedFormEntity urlEntity=new UrlEncodedFormEntity(list,"utf-8");
post.setEntity(urlEntity);
HttpResponse response=client.execute(post);
if(response.getStatusLine().getStatusCode()==200){
HttpEntity entity = response.getEntity();
String result = EntityUtils.toString(entity);
Log.e("post", "post: "+result);
if(result!=null){
Message msg=Message.obtain();
msg.what=1;
msg.obj=result;
mHandler.sendMessage(msg);
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
class DatasAdapter extends BaseAdapter {
private Context mContext;
private List mList;
private String imageBaseUrl="http://tnfs.tngou.net/image";
public DatasAdapter(Context context, List list) {
mContext = context;
mList = list;
}
@Override
public int getCount() {
return mList.size();
}
@Override
public Object getItem(int position) {
return mList.get(position);
}
@Override
public long getItemId(int position) {
return position;
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder=null;
if(convertView==null){
convertView= View.inflate(mContext,R.layout.item,null);
holder=new ViewHolder();
holder.image=(ImageView)convertView.findViewById(R.id.image);
holder.title=(TextView)convertView.findViewById(R.id.title);
holder.content=(TextView)convertView.findViewById(R.id.content);
convertView.setTag(holder);
}else{
holder=(ViewHolder)convertView.getTag();
}
Data.TngouBean bean=mList.get(position);
holder.title.setText(bean.getName());
holder.content.setText(bean.getFood());
return convertView;
}
class ViewHolder{
ImageView image;
TextView title;
TextView content;
}
}
public class Data {
/**
* status : true
* total : 101254
* tngou : [{"count":43,"description":"材料原料:牛骨3块,番杏300g,粉丝1小把,配料:草果3枚,陈皮5片,白胡椒15粒,葱,姜适量做法牛骨汤:1、将配料放入料包中;2、将牛骨清洗干净,放入汤煲中,加水450ml;3、大火烧开,撇去浮沫,放入料包;4、烧开后转小火,炖煮2个小时后过滤即可;番杏骨汤:1、将番杏洗净摘开,粉丝泡好;2、将煮好的牛骨汤撇去牛油,放入汤锅中煮开;3、放入番杏、粉丝,煮开加盐调味即可","fcount":0,"food":"牛骨,番杏,粉丝,草果,陈皮,白胡椒","id":42441,"images":"","img":"/cook/080303/8a03fd83a5a5b45f9812ac9a27efae1e.jpg","keywords":"牛骨 番杏 放入 粉丝 即可 ","name":"番杏牛骨汤","rcount":0},{"count":43,"description":"百里香主要成分:百里香酚(30%左右)、芳香醇、侧柏醇等其主要成分为百里香酚、异百里香酚、龙脑、桉树脑、石竹烯、樟烯等主要用途:镇咳、抗菌、消毒、抗微生物、提神、催眠、镇静美容方面:对于痤疮、湿疹、伤口或其它皮肤病都可以用,对于头皮屑和头发发痒都很有效","fcount":0,"food":"奶油,黄油,白脱,蛋,低筋面粉,杏仁粉,百里草","id":42558,"images":"","img":"/cook/080303/40cfe8bd940d886e59a4dcd9c76f14b2.jpg","keywords":"百里香 香草 方面 拌匀 对于 ","name":"百里香饼干","rcount":0},{"count":43,"description":"材料五花肉600g,笋干100g,老抽200ml,啤酒250ml,五香粉1茶匙(5g),冰糖10g,大蒜4瓣,八角1枚,油2茶匙(10ml),绵白糖2汤匙(30g),开水250ml,盐1茶匙(5g)做法笋干清洗干净后,放入煮锅内,加入适量水(水量以没过笋干2cm为宜),大火煮开后关火,放置冷却,然后换凉水浸泡2小时,中间要换一次水","fcount":0,"food":"五花肉,笋干,老抽,啤酒,五香粉,冰糖,大蒜,八角","id":42648,"images":"","img":"/cook/080303/32e080e2852fdb0a2759d86290ac755a.jpg","keywords":"五花肉 笋干 放入 绵白糖 啤酒 ","name":"笋干红烧肉","rcount":0},{"count":43,"description":"(摆放的位置不同,成品的花心也不同,当然也和海苔的大小有关","fcount":0,"food":"寿司醋,寿司米,黄瓜条,胡萝卜,香肠,肉松,海苔","id":42654,"images":"","img":"/cook/080303/40f5530bb53c7d5739cd2630abab7f60.jpg","keywords":"寿司 海苔 做法 米饭 大小 ","name":"胖胖寿司","rcount":0},{"count":43,"description":"小诀窍这道菜最大的特点,是保持了白菜的原汁原味,只用少量的辣椒和花椒呛味儿,而不会夺去白菜本身的味道,可谓素食中最简单的做法","fcount":0,"food":"大白菜,干辣椒,花椒","id":42682,"images":"","img":"/cook/080303/97be5d0afe2c2a24bac43a4e139b88f6.jpg","keywords":"四分之一 白菜 花椒 干辣椒 原汁原味 ","name":"简单的素炒白菜","rcount":0},{"count":43,"description":"菜谱简介周未早上阳光灿烂,天气热辣辣,真不想出门了,在家坐着也一身汗,没办法,我不吃饭仔仔都要吃的,今天买了两天的菜,打算明天不去市场了,或许明天带仔仔回妈妈家,和妈妈到外面吃了亊","fcount":0,"food":"鸡,玫瑰露酒,冰糖,香葱,八角,香叶,甘草,生抽,http://www.blog.sina.com.cn/coco8383","id":42684,"images":"","img":"/cook/080303/90f1d934a1b0750542f702b6b8a249be.jpg","keywords":"今天 仔仔 妈妈 冰箱 阳光灿烂 ","name":"玫瑰露豉油王鸡","rcount":0},{"count":43,"description":"今天中午仔仔回来吃饭,前几天买了火腿肠,仔仔指定要吃辣椒炒火腿肠,因在军训的时候吃过,所以,今天做了个简单、美味、营养的圆椒炒火腿肠","fcount":0,"food":"圆椒,火腿肠,蒜头","id":42686,"images":"","img":"/cook/080303/88d8e88d85e3ed64cb80985bad3ec436.jpg","keywords":"火腿肠 放入 下油 蒜头 仔仔 ","name":"圆椒炒火腿肠","rcount":0},{"count":43,"description":"材料10只鸡翼,1汤勺玫瑰露酒,卤水汁:500毫升水,125毫升生抽,50毫升老抽,50克冰糖,1粒八角,1小片桂皮,1片姜做法1滚水里加两茶匙盐,下鸡翼托水,不用等到水滚起来,烫烫就可以捞出,待用","fcount":0,"food":"鸡翼,玫瑰露酒,卤水,生抽,老抽,冰糖,八角,桂皮","id":42691,"images":"","img":"/cook/080303/4900e497da6da76da2ca6aa4e46b991f.jpg","keywords":"卤水 汤勺 浸泡 玫瑰 露酒 ","name":"卤水鸡翼","rcount":0},{"count":43,"description":"材料白巧克力300克左右,草莓色香油两滴做法1,白巧克力尽可能切成小块,放在一个容器里隔水融化,取一小部分用草莓色香油融化成粉红色2,先在模具上,将你想要的粉色系列涂好,窗户和门也是哦3,再涂上白色巧克力,这里最好用容器直接往上倒,比较平整","fcount":0,"food":"白巧克力,草莓色香油","id":42693,"images":"","img":"/cook/080303/818b46ccb44a59d6be4ed45f0091034e.jpg","keywords":"巧克力 白巧克力 就可以 直接 容器 ","name":"巧克力小屋","rcount":0},{"count":43,"description":"用手挤干水,用料酒和干淀粉腌制至少30min,尖椒切块;2、热锅热油,将腌好的牛肉片入锅中小火迅速翻炒至牛肉全部变色后即盛出备用;3、用少许油将尖椒炒熟;4、将牛肉放入锅内,调入酱油、蚝油、白糖和黑胡椒一起翻炒,盖上锅盖小火焖3分钟,即可出锅小诀窍这个菜,要想牛肉细嫩,决定因素并不是牛肉的厚薄","fcount":0,"food":"牛肉,黄瓜条,牛柳,尖椒,酱油,蚝油,料酒,干淀粉,黑胡椒粉","id":42699,"images":"","img":"/cook/080303/a9fa48890b0139c043fd1ef29e75975e.jpg","keywords":"牛肉 料酒 比较 酱油 蚝油 ","name":"黑椒牛肉片","rcount":0},{"count":43,"description":"(如果苹果水份大,酱稀的化,可加少量水淀粉欠锅)用牙签在饼底扎出小洞;将果仁擀碎,一半撒在饼皮上;将苹果酱倒入再放余下的果仁粒,点上些成品果酱作装饰;做派顶:把刚刚预留的1/10的面团擀平,切成片,编出派的网格,剪掉多余的部分,捏在派的面皮边上;最后刷全蛋液;烤箱调220度,预热5分钟,放入派,上下火烤45分钟即可出炉后点缀些成品果酱,再筛些糖粉","fcount":0,"food":"面饼,黄油,鸡蛋,面粉,牛奶,酵母,苹果,杏仁,榛仁,花生仁,核桃仁","id":42702,"images":"","img":"/cook/080303/2e384681d4a56bc746edbce4021c5d41.jpg","keywords":"面团 面皮 白砂糖 黄油 苹果 ","name":"香甜苹果派","rcount":0},{"count":43,"description":"材料四川豆瓣1大勺,甜面酱1大勺,酱油1大勺,白糖1小勺,色拉油2大勺,姜末少许,荷叶1张,南瓜500克,蒸肉米粉1小碗做法1、牛里脊肉500克切薄片,用四川豆瓣、甜面酱、酱油、白糖、色拉油、姜末腌30分钟以上;2、荷叶用开水烫软,铺在蒸笼上;3、南瓜去皮去瓤,切大块,放在荷叶上;4、腌好的牛肉均匀地沾上米粉,放在南瓜上;5、大火蒸40分钟即成","fcount":0,"food":"川豆,甜面酱,酱油,色拉油,荷叶,南瓜,蒸肉米粉","id":42704,"images":"","img":"/cook/080303/01f95d9a953df08f91fa0ea8e0dbe82e.jpg","keywords":"荷叶 甜面酱 南瓜 色拉油 姜末 ","name":"米粉蒸牛肉","rcount":0},{"count":43,"description":"菜谱简介利用家中常备的干货和冰冻柜里的存货以及佐粥剩下的豆腐乳,不出家门,不花一分钱就打造省钱省时的美味餐材料原料:鸡中翅6只,金钱菇25朵,大葱半根,蒜头1只,姜4片,盐2小匙,米酱豆腐乳40ml,白糖1小匙,啤酒适量做法1、鸡翅室温解冻,洗净,剁成12块,加盐、姜片和适量啤酒腌制15分钟2、香菇温水泡发,洗净后沥干3、大葱切小段、蒜头切片4、腌制好的鸡翅用厨房纸拭干水分待用5、油锅下葱段和蒜片炒香,放入鸡翅煸透,鸡皮微金黄色时翻炒一下6、放香菇同炒,倒入适量啤酒和豆腐乳7、小火焖烧10分钟后,加少许糖,转大火收干水分即可小诀窍1、解冻鸡翅用室温,时间不够可以用冷水不停地冲,不能用热水泡2、将啤酒替代了水,使鸡肉更香更嫩3、米酱豆腐乳不是红腐乳,是由糯米、黄豆与豆腐酿制的,因此成品的颜色不是红色","fcount":0,"food":"鸡中翅,金钱菇,大葱,蒜头,米酱豆腐乳,啤酒","id":42707,"images":"","img":"/cook/080303/21e23cbe02186e13b6dcc84a41ebbd11.jpg","keywords":"豆腐乳 鸡翅 啤酒 适量 洗净 ","name":"米酱焖鸡翅","rcount":0},{"count":43,"description":"材料鸡蛋2个,米饭1碗,全脂牛奶2杯,葡萄干1汤匙(15g),白砂糖2汤匙(30g),桂皮粉1/2茶匙(3g),牛油1小块做法1、鸡蛋磕在碗里打散","fcount":0,"food":"鸡蛋,米饭,全脂牛奶,葡萄干,桂皮粉,牛油","id":42709,"images":"","img":"/cook/080303/b97ce77be04d28a93c9062c7a7a7a078.jpg","keywords":"米饭 布丁 葡萄干 倒入 白砂糖 ","name":"米饭布丁","rcount":0},{"count":43,"description":"材料绿豆芽300g,干粉丝100g,花椒2茶匙(30粒),切丝鲜姜5g,切丝红椒5g,切碎粒的香葱5g,盐1茶匙(5g),鸡精1/2茶匙(3g),米醋1/2汤匙(8ml),油1汤匙(15ml)做法先将绿豆芽洗净,粉丝用温水泡10分钟,沥干水分备用","fcount":0,"food":"绿豆芽,粉丝,花椒,红椒,香葱,鸡精,米醋","id":42713,"images":"","img":"/cook/080303/af1d62e5e8761880429bf502d8451dd5.jpg","keywords":"绿豆芽 粉丝 花椒 茶匙 鸡精 ","name":"粉丝炒银芽","rcount":0},{"count":43,"description":"热量标注:此菜热量为326千卡/人材料四季豆(北方称扁豆)500g,大米250g,姜末1茶匙5g,大葱花1茶匙5g,蒜茸2茶匙10g,绍酒2汤匙30ml,八角2枚,花椒1茶匙5g,油500ml(实蚝30ml),盐1茶匙5g做法1、四季豆洗净,择去两端尖角及外侧老筋,切成5cm长的小段","fcount":0,"food":"四季豆,扁豆,大米,大葱,花,蒜茸,绍酒,八角,花椒,蚝","id":42718,"images":"","img":"/cook/080303/4e50a90c6d513356d985a55663b7a9c1.jpg","keywords":"四季豆 大米 茶匙 锅中 放入 ","name":"粉蒸四季豆","rcount":0},{"count":43,"description":"菜谱简介巧克力的味道,榛子的味道交织在一起,既愉悦又多面,既纯美又复杂,就将唇齿间的秘密都交给粒粒巧克力去说吧","fcount":0,"food":"面粉,巧克力,榛仁,鸡蛋,红糖,黄油,小苏打","id":42721,"images":"","img":"/cook/080303/3592f6aead555068d8b6305a6674d062.jpg","keywords":"巧克力 搅拌 烤箱 加入 鸡蛋 ","name":"粒粒巧克力","rcount":0},{"count":43,"description":"菜谱简介沙茶酱是流行于福建、广东等地区的一种混合型调味品,具有大蒜、洋葱、花生米等复合香味,虾米和酱油的复合鲜咸味以及轻微的甜、辣味","fcount":0,"food":"花生米,虾米,洋葱,花生酱,辣椒油,酱油,嫩黄瓜","id":42728,"images":"","img":"/cook/080303/4512a08633be0bfb6a5feb0cc2f9b49f.jpg","keywords":"沙茶 花生米 虾米 洋葱 复合 ","name":"沙茶酱汁","rcount":0},{"count":43,"description":"材料夏枯草30克,桑叶20克,杭白菊10克,火炭母(如果没有可以用麦冬代替)15克,泡发的白豆(黄豆)25克,黄片糖1片做法1、将所有材料用清水冲洗干净,冲去浮土和杂质,然后放入一个砂锅内,加入3升左右的水,浸泡15分钟","fcount":0,"food":"夏枯草,桑叶,杭白菊,火炭母,麦冬,白豆,黄豆,片糖","id":42729,"images":"","img":"/cook/080303/37d2eb7ffd13bc71dafa00c832a16ff2.jpg","keywords":"夏枯草 桑叶 白菊 材料 麦冬 ","name":"粤港夏桑菊凉茶","rcount":0},{"count":43,"description":"平底煎锅用中火烧热,放入少量的油,烧至温热,倒入约2汤匙左右搅好的面糊,调小火慢慢煎,一面凝固后用锅铲整个翻面,两面共煎约3分钟,面饼成金黄色,盛出","fcount":0,"food":"面粉,西葫芦,鸡蛋,小苏打粉","id":42733,"images":"","img":"/cook/080303/1639e7d7fefa143fe315251e72c4fadd.jpg","keywords":"西葫芦 苏打粉 面糊 茶匙 鸡蛋 ","name":"糊塌子","rcount":0},{"count":43,"description":"5、龟苓膏凝固后从大碗中扣出,再切成4cm见方的小块放入碗中,随后倒入适量的蜂蜜水即可","fcount":0,"food":"龟苓膏粉,蜂蜜","id":42739,"images":"","img":"/cook/080303/dda36841fdab2e89bc96195f29eca1b3.jpg","keywords":"龟苓膏 倒入 均匀 蜂蜜 热水 ","name":"糖水龟苓膏","rcount":0},{"count":43,"description":"热量标注:此菜热量为113千卡/人材料樱桃萝卜300g,绵白糖100g,盐1茶匙5g,柠檬1个,白芝麻1茶匙5g做法1、樱桃萝卜择去樱叶,用清水冲洗干净表面的泥土,从一侧切起,将樱桃萝卜切成薄薄的小片,并保持蒂端不要完全切断","fcount":0,"food":"樱桃萝卜,柠檬,白芝麻","id":42740,"images":"","img":"/cook/080303/600978da7d310ad36b8b164ac0f37072.jpg","keywords":"樱桃 萝卜 腌渍 绵白糖 柠檬皮 ","name":"糖浸樱桃萝卜","rcount":0},{"count":43,"description":"徐州的糖豆花样丰富,口感各异,记得小时候妈妈最常做的就是炒糖豆,把黄豆炒脆、炒香,白糖熬化,再把炒好的黄豆和熬好的白糖倒一起,使每一粒黄豆都尽可能的裹满糖,嚼在嘴里香甜酥脆,上学之前总不会忘记抓上一把放在口袋里,经过体温的糖豆会溶化,会粘在衣服上,回家难免会挨上一顿训斥","fcount":0,"food":"糯米粉,芝麻","id":42743,"images":"","img":"/cook/080303/acac12045683c8be61597eb698a55a36.jpg","keywords":"芝麻 糯米粉 黄豆 徐州 白糖 ","name":"糖豆","rcount":0},{"count":43,"description":"锅里留底油适量,依次放入洋葱,香菇和西红柿,翻炒几下,加入番茄酱3大匙,糖1匙,醋2匙,盐适量,香油半小匙,再加入青豆,煮滚,然后淀粉勾芡,浇在鱼上即可","fcount":0,"food":"鱼,洋葱,西红柿,香菇,青豆","id":42744,"images":"","img":"/cook/080303/0b79d0168362c2104b365bcc21c5c7c1.jpg","keywords":"然后 做法 西红柿 大匙 什么 ","name":"糖醋全鱼","rcount":0},{"count":43,"description":"炒锅中留底油,倒入镇江香醋、白砂糖和剩余的1汤匙绍兴黄酒,搅拌均匀,用中火加热至沸腾,继续搅拌至汤汁红亮黏稠,倒入炸好的猪小排翻炒均匀即可","fcount":0,"food":"猪肋排,香葱,老姜,绍兴黄酒,生抽,镇江香醋","id":42749,"images":"","img":"/cook/080303/d0cbd1248e6d27a8f5ae80d3c716b46d.jpg","keywords":"汤匙 小排 白砂糖 黄酒 绍兴 ","name":"糖醋小排骨","rcount":0},{"count":43,"description":"材料莲藕中段1个,橘子2只,乌酸酶3只,猕猴桃1只,樱桃3只,白醋1/4杯,白砂糖1勺做法1、莲藕洗净,去皮、切博片;猕猴桃去皮,切片","fcount":0,"food":"莲藕,橘子,乌酸酶,猕猴桃,樱桃,白醋","id":42753,"images":"","img":"/cook/080303/3ff710d5768240ceb7c97257f1a666d6.jpg","keywords":"猕猴桃 橘子 生津止渴 白砂糖 去皮 ","name":"糖醋橘子藕片","rcount":0},{"count":43,"description":"材料盐一小勺,糖适量,醋一勺,辣椒丝少许做法1、紫甘蓝洗净,切成长条,加盐拌匀,腌一段时间后,挤去水分,放在碗中","fcount":0,"food":"辣椒","id":42756,"images":"","img":"/cook/080303/842bd3b9e2eed4332ba3b0c054074a92.jpg","keywords":"辣椒 甘蓝 酸酸甜甜 一段时间 浓浓的 ","name":"糖醋紫甘蓝","rcount":0},{"count":43,"description":"酸酸甜甜的味道总能使我胃口大开,直到如今,只要一吃到这个味道,我总是想起我的外婆~~~~材料缸豆500克,老抽,糖醋少许做法1、缸豆倒入油锅中翻炒,加老抽、糖和清水","fcount":0,"food":"缸豆,老抽","id":42758,"images":"","img":"/cook/080303/eae394f2e9912d38596f8c2d24ff8ea9.jpg","keywords":"味道 酸酸甜甜 外婆 清水 如今 ","name":"糖醋豇豆","rcount":0},{"count":43,"description":"小诀窍面筋应在炒之前煮熟,放入锅中与青蒜一起炒时只要入味上色即可出锅,这样青蒜就不会炒老,保持青绿色","fcount":0,"food":"水面筋,青蒜,镇江香醋","id":42762,"images":"","img":"/cook/080303/058bb648325dbb18a04fb6d5902dff38.jpg","keywords":"面筋 青蒜 糖醋 这道 倒入 ","name":"糖醋面筋","rcount":0},{"count":43,"description":"菜谱简介牛肉味甘,性平,归脾、胃经;有补中益气、滋养脾胃、强健筋骨、化痰息风、止渴止涎的功效;材料主料:牛排,洋葱,黑胡椒,配料:酱油,盐,白糖,番茄酱,花椰菜,胡萝卜做法1","fcount":0,"food":"牛排,洋葱,黑胡椒,酱油,番茄酱,花椰菜,胡萝卜","id":42832,"images":"","img":"/cook/080303/4847a134ba66b88164f6cf1aea6d31de.jpg","keywords":"牛排 黑胡椒 番茄酱 花椰菜 胡萝卜 ","name":"紫葱黑椒红排","rcount":0}]
*/
private boolean status;
private int total;
private List tngou;
public boolean isStatus() {
return status;
}
public void setStatus(boolean status) {
this.status = status;
}
public int getTotal() {
return total;
}
public void setTotal(int total) {
this.total = total;
}
public List getTngou() {
return tngou;
}
public void setTngou(List tngou) {
this.tngou = tngou;
}
public static class TngouBean {
/**
* count : 43
* description : 材料原料:牛骨3块,番杏300g,粉丝1小把,配料:草果3枚,陈皮5片,白胡椒15粒,葱,姜适量做法牛骨汤:1、将配料放入料包中;2、将牛骨清洗干净,放入汤煲中,加水450ml;3、大火烧开,撇去浮沫,放入料包;4、烧开后转小火,炖煮2个小时后过滤即可;番杏骨汤:1、将番杏洗净摘开,粉丝泡好;2、将煮好的牛骨汤撇去牛油,放入汤锅中煮开;3、放入番杏、粉丝,煮开加盐调味即可
* fcount : 0
* food : 牛骨,番杏,粉丝,草果,陈皮,白胡椒
* id : 42441
* images :
* img : /cook/080303/8a03fd83a5a5b45f9812ac9a27efae1e.jpg
* keywords : 牛骨 番杏 放入 粉丝 即可
* name : 番杏牛骨汤
* rcount : 0
*/
private int count;
private String description;
private int fcount;
private String food;
private int id;
private String images;
private String img;
private String keywords;
private String name;
private int rcount;
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public int getFcount() {
return fcount;
}
public void setFcount(int fcount) {
this.fcount = fcount;
}
public String getFood() {
return food;
}
public void setFood(String food) {
this.food = food;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getImages() {
return images;
}
public void setImages(String images) {
this.images = images;
}
public String getImg() {
return img;
}
public void setImg(String img) {
this.img = img;
}
public String getKeywords() {
return keywords;
}
public void setKeywords(String keywords) {
this.keywords = keywords;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getRcount() {
return rcount;
}
public void setRcount(int rcount) {
this.rcount = rcount;
}
}
}