|
@ -156,6 +156,14 @@
|
|||
android:name="com.stone.shop.view.BXTNewsActivity"
|
||||
android:label="@string/app_name" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.stone.shop.view.InformationActivity"
|
||||
android:label="@string/app_name" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.stone.shop.view.InfoContentActivity"
|
||||
android:label="@string/app_name" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.tencent.tauth.AuthActivity"
|
||||
android:launchMode="singleTask"
|
||||
|
|
|
@ -156,6 +156,14 @@
|
|||
android:name="com.stone.shop.view.BXTNewsActivity"
|
||||
android:label="@string/app_name" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.stone.shop.view.InformationActivity"
|
||||
android:label="@string/app_name" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.stone.shop.view.InfoContentActivity"
|
||||
android:label="@string/app_name" >
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.tencent.tauth.AuthActivity"
|
||||
android:launchMode="singleTask"
|
||||
|
|
BIN
在这里/bin/Shop.apk
|
@ -25,6 +25,12 @@
|
|||
# view AndroidManifest.xml #generated:101
|
||||
-keep class com.stone.shop.view.HomeActivity { <init>(...); }
|
||||
|
||||
# view AndroidManifest.xml #generated:163
|
||||
-keep class com.stone.shop.view.InfoContentActivity { <init>(...); }
|
||||
|
||||
# view AndroidManifest.xml #generated:159
|
||||
-keep class com.stone.shop.view.InformationActivity { <init>(...); }
|
||||
|
||||
# view AndroidManifest.xml #generated:69
|
||||
-keep class com.stone.shop.view.LoginActivity { <init>(...); }
|
||||
|
||||
|
@ -88,10 +94,10 @@
|
|||
# view res/layout/activity_shop_item.xml #generated:6
|
||||
-keep class com.stone.ui.ViewPagerCompat { <init>(...); }
|
||||
|
||||
# view AndroidManifest.xml #generated:173
|
||||
# view AndroidManifest.xml #generated:181
|
||||
-keep class com.tencent.connect.common.AssistActivity { <init>(...); }
|
||||
|
||||
# view AndroidManifest.xml #generated:159
|
||||
# view AndroidManifest.xml #generated:167
|
||||
-keep class com.tencent.tauth.AuthActivity { <init>(...); }
|
||||
|
||||
# onClick res/layout/header_mine_info.xml #generated:8
|
||||
|
|
Before Width: | Height: | Size: 963 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 903 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 817 B |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
@ -110,99 +110,100 @@ public final class R {
|
|||
public static final int welcome_background=0x7f020051;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int action_settings=0x7f09009f;
|
||||
public static final int btn_about=0x7f090042;
|
||||
public static final int btn_add_good=0x7f09006b;
|
||||
public static final int btn_add_news=0x7f09006c;
|
||||
public static final int btn_add_shop=0x7f09006a;
|
||||
public static final int btn_buy_good=0x7f090079;
|
||||
public static final int btn_commit=0x7f09009e;
|
||||
public static final int btn_contact=0x7f090043;
|
||||
public static final int btn_dlg_ok=0x7f090075;
|
||||
public static final int action_settings=0x7f0900aa;
|
||||
public static final int btn_about=0x7f09004b;
|
||||
public static final int btn_add_good=0x7f090074;
|
||||
public static final int btn_add_news=0x7f090075;
|
||||
public static final int btn_add_shop=0x7f090073;
|
||||
public static final int btn_buy_good=0x7f090082;
|
||||
public static final int btn_commit=0x7f0900a9;
|
||||
public static final int btn_contact=0x7f09004c;
|
||||
public static final int btn_dlg_ok=0x7f09007e;
|
||||
public static final int btn_feedback_submit=0x7f090011;
|
||||
public static final int btn_hide_ads=0x7f090018;
|
||||
public static final int btn_login=0x7f090021;
|
||||
public static final int btn_look_goods=0x7f090068;
|
||||
public static final int btn_look_news=0x7f090069;
|
||||
public static final int btn_look_shops=0x7f090067;
|
||||
public static final int btn_look_users=0x7f090066;
|
||||
public static final int btn_order_count_less=0x7f09004b;
|
||||
public static final int btn_order_count_more=0x7f09004d;
|
||||
public static final int btn_order_submit=0x7f090052;
|
||||
public static final int btn_qq=0x7f090025;
|
||||
public static final int btn_reg_now=0x7f09005b;
|
||||
public static final int btn_register=0x7f090024;
|
||||
public static final int btn_set_time=0x7f09004f;
|
||||
public static final int btn_share=0x7f090044;
|
||||
public static final int cancel=0x7f0900a1;
|
||||
public static final int cb_rem_psd=0x7f090023;
|
||||
public static final int datepicker=0x7f090073;
|
||||
public static final int btn_login=0x7f09002a;
|
||||
public static final int btn_look_goods=0x7f090071;
|
||||
public static final int btn_look_news=0x7f090072;
|
||||
public static final int btn_look_shops=0x7f090070;
|
||||
public static final int btn_look_users=0x7f09006f;
|
||||
public static final int btn_order_count_less=0x7f090054;
|
||||
public static final int btn_order_count_more=0x7f090056;
|
||||
public static final int btn_order_submit=0x7f09005b;
|
||||
public static final int btn_qq=0x7f09002e;
|
||||
public static final int btn_reg_now=0x7f090064;
|
||||
public static final int btn_register=0x7f09002d;
|
||||
public static final int btn_set_time=0x7f090058;
|
||||
public static final int btn_share=0x7f09004d;
|
||||
public static final int cancel=0x7f0900ac;
|
||||
public static final int cb_rem_psd=0x7f09002c;
|
||||
public static final int datepicker=0x7f09007c;
|
||||
public static final int et_award_new=0x7f090002;
|
||||
public static final int et_award_old=0x7f090003;
|
||||
public static final int et_comfirm_psd=0x7f090056;
|
||||
public static final int et_commit=0x7f09009d;
|
||||
public static final int et_comfirm_psd=0x7f09005f;
|
||||
public static final int et_commit=0x7f0900a8;
|
||||
public static final int et_feedback_content=0x7f090010;
|
||||
public static final int et_mineinfo_cademy=0x7f090036;
|
||||
public static final int et_mineinfo_dornum=0x7f090038;
|
||||
public static final int et_mineinfo_dorpart=0x7f090037;
|
||||
public static final int et_mineinfo_phone=0x7f090039;
|
||||
public static final int et_mineinfo_qq=0x7f09003a;
|
||||
public static final int et_mineinfo_school=0x7f090035;
|
||||
public static final int et_mineinfo_username=0x7f090034;
|
||||
public static final int et_order_phone=0x7f090050;
|
||||
public static final int et_order_words=0x7f090051;
|
||||
public static final int et_password=0x7f09001f;
|
||||
public static final int et_phone=0x7f090059;
|
||||
public static final int et_username=0x7f09001c;
|
||||
public static final int et_mineinfo_cademy=0x7f09003f;
|
||||
public static final int et_mineinfo_dornum=0x7f090041;
|
||||
public static final int et_mineinfo_dorpart=0x7f090040;
|
||||
public static final int et_mineinfo_phone=0x7f090042;
|
||||
public static final int et_mineinfo_qq=0x7f090043;
|
||||
public static final int et_mineinfo_school=0x7f09003e;
|
||||
public static final int et_mineinfo_username=0x7f09003d;
|
||||
public static final int et_order_phone=0x7f090059;
|
||||
public static final int et_order_words=0x7f09005a;
|
||||
public static final int et_password=0x7f090028;
|
||||
public static final int et_phone=0x7f090062;
|
||||
public static final int et_username=0x7f090025;
|
||||
public static final int fl_image_ads=0x7f090016;
|
||||
public static final int gv_classroom=0x7f09000f;
|
||||
public static final int gv_food_class=0x7f09005e;
|
||||
public static final int gv_gift_class=0x7f09005d;
|
||||
public static final int gv_out_class=0x7f09005f;
|
||||
public static final int gv_school_class=0x7f09005c;
|
||||
public static final int header_shop_all=0x7f090060;
|
||||
public static final int imageview=0x7f090091;
|
||||
public static final int img_call=0x7f090098;
|
||||
public static final int img_chooseImage=0x7f090090;
|
||||
public static final int gv_food_class=0x7f090067;
|
||||
public static final int gv_gift_class=0x7f090066;
|
||||
public static final int gv_out_class=0x7f090068;
|
||||
public static final int gv_school_class=0x7f090065;
|
||||
public static final int header_shop_all=0x7f090069;
|
||||
public static final int imageview=0x7f09009c;
|
||||
public static final int img_call=0x7f0900a3;
|
||||
public static final int img_chooseImage=0x7f09009b;
|
||||
public static final int img_date=0x7f090013;
|
||||
public static final int img_item=0x7f090080;
|
||||
public static final int img_search=0x7f09007e;
|
||||
public static final int img_shop=0x7f090089;
|
||||
public static final int img_item=0x7f09008b;
|
||||
public static final int img_search=0x7f090089;
|
||||
public static final int img_shop=0x7f090094;
|
||||
public static final int img_welcome=0x7f090001;
|
||||
public static final int listScrollView=0x7f090012;
|
||||
public static final int ll_commit_parent_view=0x7f09009c;
|
||||
public static final int ll_commit_son_view=0x7f090070;
|
||||
public static final int ll_row1=0x7f09001a;
|
||||
public static final int ll_row2=0x7f09001d;
|
||||
public static final int ll_row3=0x7f090020;
|
||||
public static final int ll_row4=0x7f090057;
|
||||
public static final int ll_row6=0x7f09005a;
|
||||
public static final int ll_commit_parent_view=0x7f0900a7;
|
||||
public static final int ll_commit_son_view=0x7f090079;
|
||||
public static final int ll_row1=0x7f090023;
|
||||
public static final int ll_row2=0x7f090026;
|
||||
public static final int ll_row3=0x7f090029;
|
||||
public static final int ll_row4=0x7f090060;
|
||||
public static final int ll_row6=0x7f090063;
|
||||
public static final int lv_bxt_news=0x7f090004;
|
||||
public static final int lv_goods_list=0x7f090093;
|
||||
public static final int lv_mine_about=0x7f09002c;
|
||||
public static final int lv_mine_order=0x7f09002b;
|
||||
public static final int lv_mine_soft=0x7f090064;
|
||||
public static final int lv_mine_user=0x7f09002a;
|
||||
public static final int lv_goods_list=0x7f09009e;
|
||||
public static final int lv_info=0x7f09001a;
|
||||
public static final int lv_mine_about=0x7f090035;
|
||||
public static final int lv_mine_order=0x7f090034;
|
||||
public static final int lv_mine_soft=0x7f09006d;
|
||||
public static final int lv_mine_user=0x7f090033;
|
||||
public static final int lv_news=0x7f090019;
|
||||
public static final int lv_order_info=0x7f090053;
|
||||
public static final int lv_shop_all=0x7f090061;
|
||||
public static final int modify=0x7f0900a0;
|
||||
public static final int new_login_btn=0x7f090026;
|
||||
public static final int pagertab=0x7f090063;
|
||||
public static final int ratingBar1=0x7f090095;
|
||||
public static final int rb_rate=0x7f09008f;
|
||||
public static final int relaGrid=0x7f09007a;
|
||||
public static final int rl_last=0x7f090022;
|
||||
public static final int rl_splash=0x7f090065;
|
||||
public static final int lv_order_info=0x7f09005c;
|
||||
public static final int lv_shop_all=0x7f09006a;
|
||||
public static final int modify=0x7f0900ab;
|
||||
public static final int new_login_btn=0x7f09002f;
|
||||
public static final int pagertab=0x7f09006c;
|
||||
public static final int ratingBar1=0x7f0900a0;
|
||||
public static final int rb_rate=0x7f09009a;
|
||||
public static final int relaGrid=0x7f090083;
|
||||
public static final int rl_last=0x7f09002b;
|
||||
public static final int rl_splash=0x7f09006e;
|
||||
public static final int rl_welcome=0x7f090000;
|
||||
public static final int sp_bxt_header=0x7f09007c;
|
||||
public static final int textview=0x7f090092;
|
||||
public static final int timepicker=0x7f090074;
|
||||
public static final int tp_dlg_time=0x7f090076;
|
||||
public static final int tv_bowl=0x7f09003c;
|
||||
public static final int sp_bxt_header=0x7f090085;
|
||||
public static final int textview=0x7f09009d;
|
||||
public static final int timepicker=0x7f09007d;
|
||||
public static final int tp_dlg_time=0x7f09007f;
|
||||
public static final int tv_bowl=0x7f090045;
|
||||
public static final int tv_bxt_news_holder1=0x7f09000a;
|
||||
public static final int tv_bxt_news_holder2=0x7f09000b;
|
||||
public static final int tv_bxt_news_item_title=0x7f09006f;
|
||||
public static final int tv_bxt_news_item_title=0x7f090078;
|
||||
public static final int tv_bxt_news_loc=0x7f090009;
|
||||
public static final int tv_bxt_news_point=0x7f09000c;
|
||||
public static final int tv_bxt_news_speaker=0x7f090007;
|
||||
|
@ -210,67 +211,77 @@ public final class R {
|
|||
public static final int tv_bxt_news_time=0x7f090008;
|
||||
public static final int tv_bxt_news_title=0x7f090005;
|
||||
public static final int tv_bxt_news_topic=0x7f090006;
|
||||
public static final int tv_cademy=0x7f09003f;
|
||||
public static final int tv_chooseText=0x7f09007b;
|
||||
public static final int tv_comfirm_psd=0x7f090055;
|
||||
public static final int tv_commit_content=0x7f090072;
|
||||
public static final int tv_commit_title=0x7f09009b;
|
||||
public static final int tv_commit_user=0x7f090071;
|
||||
public static final int tv_cademy=0x7f090048;
|
||||
public static final int tv_chooseText=0x7f090084;
|
||||
public static final int tv_comfirm_psd=0x7f09005e;
|
||||
public static final int tv_commit_content=0x7f09007b;
|
||||
public static final int tv_commit_title=0x7f0900a6;
|
||||
public static final int tv_commit_user=0x7f09007a;
|
||||
public static final int tv_day=0x7f090015;
|
||||
public static final int tv_dorNum=0x7f090041;
|
||||
public static final int tv_dorPart=0x7f090040;
|
||||
public static final int tv_edit=0x7f09007d;
|
||||
public static final int tv_good_name=0x7f090077;
|
||||
public static final int tv_good_price=0x7f090078;
|
||||
public static final int tv_item_content=0x7f090082;
|
||||
public static final int tv_item_name=0x7f090081;
|
||||
public static final int tv_me=0x7f09003b;
|
||||
public static final int tv_mineinfo_cademy=0x7f09002f;
|
||||
public static final int tv_mineinfo_dornum=0x7f090031;
|
||||
public static final int tv_mineinfo_dorpart=0x7f090030;
|
||||
public static final int tv_mineinfo_phone=0x7f090032;
|
||||
public static final int tv_mineinfo_qq=0x7f090033;
|
||||
public static final int tv_mineinfo_school=0x7f09002e;
|
||||
public static final int tv_mineinfo_username=0x7f09002d;
|
||||
public static final int tv_news_author=0x7f090046;
|
||||
public static final int tv_news_content=0x7f090048;
|
||||
public static final int tv_news_date=0x7f090084;
|
||||
public static final int tv_news_time=0x7f090047;
|
||||
public static final int tv_news_title=0x7f090045;
|
||||
public static final int tv_news_type=0x7f090083;
|
||||
public static final int tv_order_count=0x7f09004c;
|
||||
public static final int tv_order_good=0x7f09004a;
|
||||
public static final int tv_order_info_good_name=0x7f090085;
|
||||
public static final int tv_order_info_price=0x7f090087;
|
||||
public static final int tv_order_info_shop_name=0x7f090086;
|
||||
public static final int tv_order_info_state=0x7f090088;
|
||||
public static final int tv_order_shop=0x7f090049;
|
||||
public static final int tv_order_time=0x7f09004e;
|
||||
public static final int tv_password=0x7f09001e;
|
||||
public static final int tv_phone=0x7f090058;
|
||||
public static final int tv_reg_title=0x7f090054;
|
||||
public static final int tv_res=0x7f09006e;
|
||||
public static final int tv_room=0x7f09007f;
|
||||
public static final int tv_school=0x7f09003e;
|
||||
public static final int tv_shop_discount=0x7f09008c;
|
||||
public static final int tv_shop_introduce=0x7f090099;
|
||||
public static final int tv_shop_loc=0x7f09008e;
|
||||
public static final int tv_shop_location=0x7f090096;
|
||||
public static final int tv_shop_name=0x7f09008a;
|
||||
public static final int tv_shop_paper=0x7f09008b;
|
||||
public static final int tv_shop_phone=0x7f090097;
|
||||
public static final int tv_shop_promotion=0x7f09009a;
|
||||
public static final int tv_shop_title=0x7f090094;
|
||||
public static final int tv_shop_type=0x7f09008d;
|
||||
public static final int tv_title=0x7f09006d;
|
||||
public static final int tv_username=0x7f09001b;
|
||||
public static final int tv_dorNum=0x7f09004a;
|
||||
public static final int tv_dorPart=0x7f090049;
|
||||
public static final int tv_edit=0x7f090088;
|
||||
public static final int tv_good_name=0x7f090080;
|
||||
public static final int tv_good_price=0x7f090081;
|
||||
public static final int tv_info_item_content=0x7f090022;
|
||||
public static final int tv_info_item_holder=0x7f09001f;
|
||||
public static final int tv_info_item_holder2=0x7f090020;
|
||||
public static final int tv_info_item_loc=0x7f09001e;
|
||||
public static final int tv_info_item_point=0x7f090021;
|
||||
public static final int tv_info_item_speaker=0x7f09001c;
|
||||
public static final int tv_info_item_time=0x7f09001d;
|
||||
public static final int tv_info_item_title=0x7f090087;
|
||||
public static final int tv_info_item_topic=0x7f09001b;
|
||||
public static final int tv_info_title=0x7f090086;
|
||||
public static final int tv_item_content=0x7f09008d;
|
||||
public static final int tv_item_name=0x7f09008c;
|
||||
public static final int tv_me=0x7f090044;
|
||||
public static final int tv_mineinfo_cademy=0x7f090038;
|
||||
public static final int tv_mineinfo_dornum=0x7f09003a;
|
||||
public static final int tv_mineinfo_dorpart=0x7f090039;
|
||||
public static final int tv_mineinfo_phone=0x7f09003b;
|
||||
public static final int tv_mineinfo_qq=0x7f09003c;
|
||||
public static final int tv_mineinfo_school=0x7f090037;
|
||||
public static final int tv_mineinfo_username=0x7f090036;
|
||||
public static final int tv_news_author=0x7f09004f;
|
||||
public static final int tv_news_content=0x7f090051;
|
||||
public static final int tv_news_date=0x7f09008f;
|
||||
public static final int tv_news_time=0x7f090050;
|
||||
public static final int tv_news_title=0x7f09004e;
|
||||
public static final int tv_news_type=0x7f09008e;
|
||||
public static final int tv_order_count=0x7f090055;
|
||||
public static final int tv_order_good=0x7f090053;
|
||||
public static final int tv_order_info_good_name=0x7f090090;
|
||||
public static final int tv_order_info_price=0x7f090092;
|
||||
public static final int tv_order_info_shop_name=0x7f090091;
|
||||
public static final int tv_order_info_state=0x7f090093;
|
||||
public static final int tv_order_shop=0x7f090052;
|
||||
public static final int tv_order_time=0x7f090057;
|
||||
public static final int tv_password=0x7f090027;
|
||||
public static final int tv_phone=0x7f090061;
|
||||
public static final int tv_reg_title=0x7f09005d;
|
||||
public static final int tv_res=0x7f090077;
|
||||
public static final int tv_room=0x7f09008a;
|
||||
public static final int tv_school=0x7f090047;
|
||||
public static final int tv_shop_discount=0x7f090097;
|
||||
public static final int tv_shop_introduce=0x7f0900a4;
|
||||
public static final int tv_shop_loc=0x7f090099;
|
||||
public static final int tv_shop_location=0x7f0900a1;
|
||||
public static final int tv_shop_name=0x7f090095;
|
||||
public static final int tv_shop_paper=0x7f090096;
|
||||
public static final int tv_shop_phone=0x7f0900a2;
|
||||
public static final int tv_shop_promotion=0x7f0900a5;
|
||||
public static final int tv_shop_title=0x7f09009f;
|
||||
public static final int tv_shop_type=0x7f090098;
|
||||
public static final int tv_title=0x7f090076;
|
||||
public static final int tv_username=0x7f090024;
|
||||
public static final int tv_week=0x7f090014;
|
||||
public static final int tv_xiaocai=0x7f09003d;
|
||||
public static final int user_callback=0x7f090029;
|
||||
public static final int user_logo=0x7f090028;
|
||||
public static final int user_nickname=0x7f090027;
|
||||
public static final int tv_xiaocai=0x7f090046;
|
||||
public static final int user_callback=0x7f090032;
|
||||
public static final int user_logo=0x7f090031;
|
||||
public static final int user_nickname=0x7f090030;
|
||||
public static final int view_pager=0x7f090017;
|
||||
public static final int viewpager=0x7f090062;
|
||||
public static final int viewpager=0x7f09006b;
|
||||
public static final int wv_wsq=0x7f09000e;
|
||||
}
|
||||
public static final class layout {
|
||||
|
@ -283,54 +294,58 @@ public final class R {
|
|||
public static final int activity_classroom=0x7f030006;
|
||||
public static final int activity_feedback=0x7f030007;
|
||||
public static final int activity_home=0x7f030008;
|
||||
public static final int activity_login=0x7f030009;
|
||||
public static final int activity_mine=0x7f03000a;
|
||||
public static final int activity_mine_info=0x7f03000b;
|
||||
public static final int activity_mine_info_edit=0x7f03000c;
|
||||
public static final int activity_mine_old=0x7f03000d;
|
||||
public static final int activity_news=0x7f03000e;
|
||||
public static final int activity_order=0x7f03000f;
|
||||
public static final int activity_order_info=0x7f030010;
|
||||
public static final int activity_reg=0x7f030011;
|
||||
public static final int activity_shop=0x7f030012;
|
||||
public static final int activity_shop_all=0x7f030013;
|
||||
public static final int activity_shop_item=0x7f030014;
|
||||
public static final int activity_soft=0x7f030015;
|
||||
public static final int activity_splash=0x7f030016;
|
||||
public static final int activity_test=0x7f030017;
|
||||
public static final int activity_userinfo=0x7f030018;
|
||||
public static final int bxt_list_item=0x7f030019;
|
||||
public static final int commit=0x7f03001a;
|
||||
public static final int common_datetime=0x7f03001b;
|
||||
public static final int dlg_order_settime=0x7f03001c;
|
||||
public static final int goods_list_item=0x7f03001d;
|
||||
public static final int gv_item_classroom=0x7f03001e;
|
||||
public static final int header_award=0x7f03001f;
|
||||
public static final int header_bxt=0x7f030020;
|
||||
public static final int header_bxt_news=0x7f030021;
|
||||
public static final int header_feedback=0x7f030022;
|
||||
public static final int header_home=0x7f030023;
|
||||
public static final int header_mine=0x7f030024;
|
||||
public static final int header_mine_info=0x7f030025;
|
||||
public static final int header_mine_info_edit=0x7f030026;
|
||||
public static final int header_news=0x7f030027;
|
||||
public static final int header_order=0x7f030028;
|
||||
public static final int header_order_info=0x7f030029;
|
||||
public static final int header_shop=0x7f03002a;
|
||||
public static final int header_shop_all=0x7f03002b;
|
||||
public static final int header_soft=0x7f03002c;
|
||||
public static final int layout_reservation=0x7f03002d;
|
||||
public static final int mine_list_item=0x7f03002e;
|
||||
public static final int mine_soft_list_item=0x7f03002f;
|
||||
public static final int news_list_item=0x7f030030;
|
||||
public static final int order_info_list_item=0x7f030031;
|
||||
public static final int popmenu=0x7f030032;
|
||||
public static final int scom_list_item=0x7f030033;
|
||||
public static final int shop_all_list_item=0x7f030034;
|
||||
public static final int shop_grid_item=0x7f030035;
|
||||
public static final int tab_widget_item=0x7f030036;
|
||||
public static final int viewpager_menu=0x7f030037;
|
||||
public static final int viewpager_shopinfo=0x7f030038;
|
||||
public static final int activity_info=0x7f030009;
|
||||
public static final int activity_infoitem=0x7f03000a;
|
||||
public static final int activity_login=0x7f03000b;
|
||||
public static final int activity_mine=0x7f03000c;
|
||||
public static final int activity_mine_info=0x7f03000d;
|
||||
public static final int activity_mine_info_edit=0x7f03000e;
|
||||
public static final int activity_mine_old=0x7f03000f;
|
||||
public static final int activity_news=0x7f030010;
|
||||
public static final int activity_order=0x7f030011;
|
||||
public static final int activity_order_info=0x7f030012;
|
||||
public static final int activity_reg=0x7f030013;
|
||||
public static final int activity_shop=0x7f030014;
|
||||
public static final int activity_shop_all=0x7f030015;
|
||||
public static final int activity_shop_item=0x7f030016;
|
||||
public static final int activity_soft=0x7f030017;
|
||||
public static final int activity_splash=0x7f030018;
|
||||
public static final int activity_test=0x7f030019;
|
||||
public static final int activity_userinfo=0x7f03001a;
|
||||
public static final int bxt_list_item=0x7f03001b;
|
||||
public static final int commit=0x7f03001c;
|
||||
public static final int common_datetime=0x7f03001d;
|
||||
public static final int dlg_order_settime=0x7f03001e;
|
||||
public static final int goods_list_item=0x7f03001f;
|
||||
public static final int gv_item_classroom=0x7f030020;
|
||||
public static final int header_award=0x7f030021;
|
||||
public static final int header_bxt=0x7f030022;
|
||||
public static final int header_bxt_news=0x7f030023;
|
||||
public static final int header_feedback=0x7f030024;
|
||||
public static final int header_home=0x7f030025;
|
||||
public static final int header_info=0x7f030026;
|
||||
public static final int header_info_content=0x7f030027;
|
||||
public static final int header_mine=0x7f030028;
|
||||
public static final int header_mine_info=0x7f030029;
|
||||
public static final int header_mine_info_edit=0x7f03002a;
|
||||
public static final int header_news=0x7f03002b;
|
||||
public static final int header_order=0x7f03002c;
|
||||
public static final int header_order_info=0x7f03002d;
|
||||
public static final int header_shop=0x7f03002e;
|
||||
public static final int header_shop_all=0x7f03002f;
|
||||
public static final int header_soft=0x7f030030;
|
||||
public static final int layout_reservation=0x7f030031;
|
||||
public static final int mine_list_item=0x7f030032;
|
||||
public static final int mine_soft_list_item=0x7f030033;
|
||||
public static final int news_list_item=0x7f030034;
|
||||
public static final int order_info_list_item=0x7f030035;
|
||||
public static final int popmenu=0x7f030036;
|
||||
public static final int scom_list_item=0x7f030037;
|
||||
public static final int shop_all_list_item=0x7f030038;
|
||||
public static final int shop_grid_item=0x7f030039;
|
||||
public static final int tab_widget_item=0x7f03003a;
|
||||
public static final int viewpager_menu=0x7f03003b;
|
||||
public static final int viewpager_shopinfo=0x7f03003c;
|
||||
}
|
||||
public static final class menu {
|
||||
public static final int main=0x7f080000;
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<include layout="@layout/header_info" />
|
||||
|
||||
<ListView
|
||||
android:id="@+id/lv_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@null">
|
||||
</ListView>
|
||||
|
||||
|
||||
</LinearLayout>
|
|
@ -0,0 +1,190 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
|
||||
<include layout="@layout/header_info_content"/>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dp" >
|
||||
|
||||
<!-- 标题 -->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_bxt_news_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:padding="10dp"
|
||||
android:text="“两学一做”活动开展走向深入"
|
||||
android:textColor="#2F4F4F"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<!-- 讲座主题 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="讲座主题"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_topic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:text="红楼梦——艺术思维与人物赏析"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 主讲人 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="主讲人"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_speaker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:text="易栋 武汉大学艺术学院教师"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 讲座时间 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="讲座时间"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_time"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:text="2014年5月9日(周五)晚19:00"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 讲座地点 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="讲座地点"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_loc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:text="大学生活动中心博学堂"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 主办单位 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="主办单位"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:text="学生工作部"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 承办单位 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="承办单位"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_holder2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:text="校学生工作助理办公室"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 主讲内容提要 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="主讲内容提要"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_point"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:lineSpacingMultiplier="1.4"
|
||||
android:text=" 1.概述《红楼梦》的“奇书”特征和魅力\n 2.评说《红楼梦》的艺术基调、整体结构和寓意\n 3.解析贾宝玉、林黛玉、薛宝钗、妙玉的性格特点。"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<!-- 主讲人简介 -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="主讲人简介"
|
||||
android:textColor="#FF8C00"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:lineSpacingMultiplier="1.4"
|
||||
android:text="易栋 武汉大学艺术学院青年教师、湖北艺术研究所特约研究员,湖北省优秀教师、武汉大学十佳教师及最受欢迎的公选课老师"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
|
@ -18,7 +18,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="湖北工业大学第170期大学生“求索”科技讲坛预告"
|
||||
android:text="“两学一做”活动开展走向深入"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="#ccDEDEDE"
|
||||
android:gravity="center"
|
||||
android:padding="3dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="学校通知"
|
||||
android:textSize="20sp"
|
||||
android:textColor="#8B4513"
|
||||
android:typeface="monospace"/>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/sp_bxt_header"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
</RelativeLayout>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="#ccDEDEDE"
|
||||
android:gravity="center"
|
||||
android:padding="3dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info_item_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="学校通知详情"
|
||||
android:textSize="20sp"
|
||||
android:textColor="#8B4513"
|
||||
android:typeface="monospace"/>
|
||||
|
||||
</RelativeLayout>
|
|
@ -13,7 +13,7 @@ public class TypeDef {
|
|||
|
||||
//子分类--学习小菜
|
||||
//后均改为private类型
|
||||
public static final String[] typeSonList1 = { "教室", "图书馆" };
|
||||
public static final String[] typeSonList1 = { "教室", "图书馆", "学校通知"};
|
||||
|
||||
//子分类--吃饭小菜
|
||||
public static final String[] typeSonList2 = { "一食堂", "二食堂" };
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GridAdapter extends BaseAdapter {
|
|||
|
||||
//学习小菜
|
||||
public static final String[] mSchoolTexts = TypeDef.typeSonList1;
|
||||
private int[] mSchoolImages = { R.drawable.ic_8, R.drawable.ic_8 };
|
||||
private int[] mSchoolImages = { R.drawable.ic_8, R.drawable.ic_8 ,R.drawable.ic_8};
|
||||
|
||||
//吃饭小菜
|
||||
public static final String[] mFoodTexts = TypeDef.typeSonList2;
|
||||
|
|
|
@ -0,0 +1,78 @@
|
|||
package com.stone.shop.adapter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.stone.shop.R;
|
||||
import com.stone.shop.model.BXTNews;
|
||||
import com.stone.shop.model.Information;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.TextView;
|
||||
|
||||
|
||||
/**
|
||||
* 学校通知列表适配器
|
||||
* @author XCP
|
||||
* @date 2016-8-22
|
||||
*/
|
||||
public class InformationListAdapter extends BaseAdapter {
|
||||
|
||||
private Context mContext;
|
||||
private List<Information> mInfoList; // 商品列表信息
|
||||
private LayoutInflater mInflater = null;
|
||||
|
||||
public InformationListAdapter(Context context, List<Information> infoList) {
|
||||
mContext = context;
|
||||
mInfoList = infoList;
|
||||
mInflater = LayoutInflater.from(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return mInfoList.size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getItem(int position) {
|
||||
// TODO Auto-generated method stub
|
||||
return mInfoList.get(position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getItemId(int position) {
|
||||
// TODO Auto-generated method stub
|
||||
return position;
|
||||
}
|
||||
|
||||
// 刷新列表中的数据
|
||||
public void refresh(List<Information> list) {
|
||||
Log.i("InformationListAdapter", "Adapter刷新数据");
|
||||
mInfoList = list;
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
public View getView(int position, View convertView, ViewGroup parent) {
|
||||
// TODO Auto-generated method stub
|
||||
BXTNewsHolder newsHolder;
|
||||
if (convertView == null) {
|
||||
convertView = mInflater.inflate(R.layout.bxt_list_item, null);
|
||||
newsHolder = new BXTNewsHolder();
|
||||
newsHolder.tvBXTNewsTitle = (TextView) convertView
|
||||
.findViewById(R.id.tv_bxt_news_item_title);
|
||||
convertView.setTag(newsHolder);
|
||||
} else {
|
||||
newsHolder = (BXTNewsHolder) convertView.getTag();
|
||||
}
|
||||
newsHolder.tvBXTNewsTitle.setText(mInfoList.get(position).getTitle());
|
||||
return convertView;
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
package com.stone.shop.model;
|
||||
|
||||
import cn.bmob.v3.BmobObject;
|
||||
|
||||
/**
|
||||
* 学校通知实体类
|
||||
* @author XCP
|
||||
* @date 2016-8-22
|
||||
*/
|
||||
|
||||
public class Information extends BmobObject{
|
||||
|
||||
private String title; //标题
|
||||
private String topic; //主题
|
||||
private String time; //时间
|
||||
private String holder; //单位
|
||||
private String content; //内容
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
public String getTopic() {
|
||||
return topic;
|
||||
}
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
public String getHolder() {
|
||||
return holder;
|
||||
}
|
||||
public String getcontent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
public void setTopic(String topic) {
|
||||
this.topic = topic;
|
||||
}
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
public void setHolder(String holder) {
|
||||
this.holder = holder;
|
||||
}
|
||||
public void setContent(String content){
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
package com.stone.shop.view;
|
||||
|
||||
import com.stone.shop.R;
|
||||
import com.stone.shop.model.BXTNews;
|
||||
import com.stone.shop.model.Information;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.widget.TextView;
|
||||
|
||||
/**
|
||||
* 教学 - 学校通知详情界面
|
||||
* @author XCP
|
||||
* @date 2016-8-22
|
||||
*/
|
||||
public class InfoContentActivity extends Activity {
|
||||
|
||||
private static final String TAG = "InfoContentActivity";
|
||||
|
||||
private Information info;
|
||||
private TextView tvInfoTitle;
|
||||
private TextView tvInfoTopic;
|
||||
private TextView tvInfoTime;
|
||||
private TextView tvInfoHolder;
|
||||
private TextView tvInfoContent;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_infoitem);
|
||||
|
||||
initView();
|
||||
}
|
||||
|
||||
private void initView() {
|
||||
|
||||
tvInfoTitle = (TextView) findViewById(R.id.tv_info_item_title);
|
||||
tvInfoTopic = (TextView) findViewById(R.id.tv_info_item_topic);
|
||||
tvInfoTime = (TextView) findViewById(R.id.tv_info_item_time);
|
||||
tvInfoHolder = (TextView) findViewById(R.id.tv_info_item_holder);
|
||||
tvInfoContent = (TextView) findViewById(R.id.tv_info_item_content);
|
||||
|
||||
tvInfoTitle.setText(getIntent().getStringExtra("title"));
|
||||
tvInfoTopic.setText(getIntent().getStringExtra("topic"));
|
||||
tvInfoTime.setText(getIntent().getStringExtra("time"));
|
||||
tvInfoHolder.setText(getIntent().getStringExtra("holder"));
|
||||
tvInfoContent.setText(getIntent().getStringExtra("content"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,93 @@
|
|||
package com.stone.shop.view;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import cn.bmob.v3.BmobQuery;
|
||||
import cn.bmob.v3.listener.FindListener;
|
||||
|
||||
import com.stone.shop.R;
|
||||
import com.stone.shop.adapter.InformationListAdapter;
|
||||
import com.stone.shop.model.Information;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.OnItemClickListener;
|
||||
import android.widget.ListView;
|
||||
import android.widget.Toast;
|
||||
|
||||
/**
|
||||
* 教学-学校通知界面
|
||||
* @author XCP
|
||||
* @date 2016-8-22
|
||||
*/
|
||||
public class InformationActivity extends Activity implements OnItemClickListener{
|
||||
|
||||
private static final String TAG = "InformationActivity";
|
||||
|
||||
private ListView mlvInfoContent;
|
||||
private InformationListAdapter mInformationListAdapter;
|
||||
private List<Information> mInformationList;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_info);
|
||||
|
||||
initView();
|
||||
initData();
|
||||
|
||||
}
|
||||
|
||||
private void initView() {
|
||||
mlvInfoContent = (ListView) findViewById(R.id.lv_info);
|
||||
mInformationList = new ArrayList<Information>();
|
||||
mInformationListAdapter = new InformationListAdapter(this, mInformationList);
|
||||
mlvInfoContent.setAdapter(mInformationListAdapter);
|
||||
mlvInfoContent.setOnItemClickListener(this);
|
||||
}
|
||||
|
||||
private void initData() {
|
||||
BmobQuery<Information> query = new BmobQuery<Information>();
|
||||
query.findObjects(this, new FindListener<Information>() {
|
||||
|
||||
@Override
|
||||
public void onSuccess(List<Information> infoList) {
|
||||
if(infoList.size()==0)
|
||||
toast("亲, 暂时还木有通知哦");
|
||||
else {
|
||||
mInformationList = infoList;
|
||||
mInformationListAdapter.refresh(infoList);
|
||||
mInformationListAdapter.notifyDataSetChanged();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int arg0, String arg1) {
|
||||
toast("查询失败");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void toast(String toast) {
|
||||
Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position,
|
||||
long id) {
|
||||
Intent toInfoContentActivity = new Intent(InformationActivity.this, InfoContentActivity.class);
|
||||
toInfoContentActivity.putExtra("title", mInformationList.get(position).getTitle());
|
||||
toInfoContentActivity.putExtra("topic", mInformationList.get(position).getTopic());
|
||||
toInfoContentActivity.putExtra("time", mInformationList.get(position).getTime());
|
||||
toInfoContentActivity.putExtra("holder", mInformationList.get(position).getHolder());
|
||||
toInfoContentActivity.putExtra("content", mInformationList.get(position).getcontent());
|
||||
startActivity(toInfoContentActivity);
|
||||
}
|
||||
|
||||
}
|
|
@ -78,9 +78,9 @@ public class ShopActivity extends Activity implements OnItemClickListener{
|
|||
//点击 学习小菜 中的子项(1代表第一个GridView, (position+1)代表GridView中第几个元素)
|
||||
case R.id.gv_school_class:
|
||||
//教学类的做特别处理
|
||||
if(position==0) {
|
||||
Intent toBXTActivity = new Intent(ShopActivity.this, ClassroomActivity.class);
|
||||
startActivity(toBXTActivity);
|
||||
if(position==2) {
|
||||
Intent toInformationActivity = new Intent(ShopActivity.this, InformationActivity.class);
|
||||
startActivity(toInformationActivity);
|
||||
} else {
|
||||
toShopAllActivity( GridAdapter.mSchoolTexts[position], "1"+(position+1) );
|
||||
}
|
||||
|
|