Back to project page EnterpriseShow.
The source code is released under:
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...
If you think the Android project EnterpriseShow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ruixinyuan.producttrainingfinal; /*w ww. ja v a 2 s . c o m*/ import com.ruixinyuan.producttrainingfinal.db.DBConstants; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; /* *@user vicentliu *@time 2013-7-1????1:54:02 *@package com.ruixinyuan.producttrainingfinal */ public class SaleSkillDetailActivity extends Activity { TextView mTextViewDetailTitle; TextView mTextViewDetailContent; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_sale_skill_details); initData(); init(); } int saleSkillId; String saleSkillTitle; String saleSkillContent; /** * ???????? */ private void initData() { saleSkillId = getIntent().getIntExtra(DBConstants.SALE_SKILL_ID, 0); saleSkillTitle = getIntent().getStringExtra(DBConstants.SALE_SKILL_TITLE); saleSkillContent = getIntent().getStringExtra(DBConstants.SALE_SKILL_CONTENT); } private void init() { mTextViewDetailTitle = (TextView)findViewById(R.id.textViewSaleSkillDetailTitle); mTextViewDetailTitle.setText(saleSkillTitle); mTextViewDetailContent = (TextView)findViewById(R.id.textViewSaleSkillDetailContent); mTextViewDetailContent.setText(saleSkillContent); } }