增加DTB

This commit is contained in:
zengfantian 2014-12-09 14:35:12 +08:00
parent 2f35657296
commit c88736f015
2 changed files with 48 additions and 4 deletions

View File

@ -79,7 +79,6 @@
<uses-permission android:name="android.permission.GET_TASKS" />
<!-- 配置权限清单(结束) -->
<application
android:name="com.zftlive.android.MApplication"
android:allowBackup="true"
@ -97,16 +96,29 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- 引导界面 -->
<activity
android:name=".sample.GuideActivity"
android:name=".common.GuideActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
<!-- 程序主界面(底部菜单+左侧菜单) -->
<!--意见反馈界面 -->
<activity
android:name=".common.SuggestionActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
<!--扫描二维码界面 -->
<activity
android:name=".zxing.CaptureActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
<!-- 程序主界面 -->
<activity
android:name=".sample.MainActivity"
android:launchMode="singleTask"

View File

@ -0,0 +1,32 @@
package com.zftlive.android.data;
/**
* 数据传输Bean继承DTO
* @author 曾繁添
* @version 1.0
* @param <V>
* @param <K>
*
*/
public class DTB<V, K> extends DTO<K, V> {
private String name;
private String nameCN;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getNameCN() {
return nameCN;
}
public void setNameCN(String nameCN) {
this.nameCN = nameCN;
}
}