Skip to content

Commit 5833fff

Browse files
committed
添加城市选择,时间选择。
修改首页默认头像显示位置 将本地数据修改为联网数据 添加增加新兼职信息页面
1 parent 911b24b commit 5833fff

27 files changed

+5261
-607
lines changed

.idea/.name

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

+2-14
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,15 @@ apt {
3030
dependencies {
3131
compile fileTree(dir: 'libs', include: ['*.jar'])
3232
apt "org.androidannotations:androidannotations:$AAVersion"
33-
3433
compile "org.androidannotations:androidannotations-api:$AAVersion"
35-
36-
//以下SDK开发者请根据需要自行选择
37-
//bmob-sdk :Bmob的android sdk包
38-
//bmob-push:Bmob的推送包
39-
//bmob-im:bmob的im包,以下两个配置是im功能所需 --聊天
40-
//compile 'cn.bmob.android:bmob-im:1.1.9'
41-
//compile 'cn.bmob.android:bmob-sdk:3.4.3'
42-
//bmob-sms :Bmob单独为短信服务提供的包
4334
compile 'com.android.support:appcompat-v7:23.1.1'
44-
// compile 'com.zhy:okhttputils:1.0.2'
4535
compile 'com.facebook.fresco:fresco:0.8.1'
4636
compile 'com.facebook.fresco:imagepipeline-okhttp:0.6.0+'
47-
// compile 'com.alibaba:fastjson:1.2.6'
4837
compile 'com.android.support:recyclerview-v7:23.1.1'
4938
compile 'com.android.support:support-v4:23.1.1'
5039
compile 'com.android.support:cardview-v7:23.1.1'
5140
compile 'com.yalantis:phoenix:1.2.3'
5241
compile 'cn.bmob.android:bmob-sdk:3.4.5'
53-
// compile 'cn.bmob.android:bmob-push:0.6'
54-
// compile 'cn.bmob.android:bmob-sms:1.0.1'
55-
// compile 'com.android.support:design:23.1.1'
42+
43+
compile 'com.bigkoo:pickerview:2.0.5'
5644
}

app/src/main/assets/province_data.xml

+3,933
Large diffs are not rendered by default.

app/src/main/java/com/parttime/Activity/Common/LoginActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void onTopBarBackClickDelegate() {
5555
}
5656
});
5757
mTopbar.setRightTitle("注册");
58-
mTopbar.setTopBarStatusRight(new TopBarStatusRight() {
58+
mTopbar.setTopBarStatusRightListener(new TopBarStatusRight() {
5959
@Override
6060
public void onRightClickDelegate() {
6161
skipToRegister();

app/src/main/java/com/parttime/Activity/Company/CompanyInfoDetailsActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void onTopBarBackClickDelegate() {
5959
});
6060
initViews();
6161
mTopbar.setRightTitle("修改资料");
62-
mTopbar.setTopBarStatusRight(new TopBarStatusRight() {
62+
mTopbar.setTopBarStatusRightListener(new TopBarStatusRight() {
6363
@Override
6464
public void onRightClickDelegate() {
6565
CompanyInfoChangeActivity_.intent(context).startForResult(110);

app/src/main/java/com/parttime/Activity/Company/MainActivity.java

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.parttime.Activity.Company;
22

33
import android.content.Context;
4+
import android.content.Intent;
45
import android.support.v4.app.Fragment;
56
import android.support.v4.app.FragmentTransaction;
67
import com.parttime.BaseLibs.BaseActivity;
@@ -46,14 +47,15 @@ public void onMenuBarSwitchedDelegate(int index) {
4647
changeTitle(index);
4748
}
4849
});
49-
mTopBar.setTopBarStatusRight(new TopBarStatusRight() {
50+
mTopBar.setTopBarStatusRightListener(new TopBarStatusRight() {
5051
@Override
5152
public void onRightClickDelegate() {
5253
if (BaseActivity.mIndex == 1) {
5354
CompanyInfoDetailsActivity_.intent(context).start();
5455
}
5556
else {
5657
// goto 发布兼职
58+
NewJobActivity_.intent(context).startForResult(110);
5759
}
5860
}
5961
});
@@ -105,4 +107,12 @@ else if (fragments[1] == null && fragment instanceof CompanyCenterFragment_) {
105107
fragments[1] = fragment;
106108
}
107109
}
110+
111+
@Override
112+
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
113+
super.onActivityResult(requestCode, resultCode, data);
114+
if (requestCode == 110 && resultCode == 11){
115+
//refresh view
116+
}
117+
}
108118
}

0 commit comments

Comments
 (0)