Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
22f3397f
authored
Jul 11, 2018
by
罗翻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录逻辑修改,增加忘记密码,修改密码
parent
20108deb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
2 deletions
messageCenter/src/main/res/layout/fragment_message1.xml
userCenter/src/main/java/com/dayu/usercenter/ui/fragment/HomePersonFragment.java
messageCenter/src/main/res/layout/fragment_message1.xml
0 → 100755
View file @
22f3397f
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<android.support.design.widget.CoordinatorLayout
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<android.support.design.widget.AppBarLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
>
<android.support.v7.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
app:layout_scrollFlags=
"scroll|enterAlwaysCollapsed|snap"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:text=
"@string/tv_message"
android:textColor=
"@color/cl_home_title_text_color"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</android.support.v7.widget.Toolbar>
<android.support.design.widget.TabLayout
android:id=
"@+id/tb_message"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
app:tabIndicatorColor=
"@color/cl_receiving_order_item_data"
app:tabMaxWidth=
"0dp"
app:tabSelectedTextColor=
"@color/cl_receiving_order_item_data"
app:tabTextAppearance=
"@style/TabLayoutTextStyle"
app:tabTextColor=
"@color/cl_tab_line"
/>
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id=
"@+id/vp_message"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"8dp"
android:background=
"@color/cl_white"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
/>
</android.support.design.widget.CoordinatorLayout>
</layout>
\ No newline at end of file
userCenter/src/main/java/com/dayu/usercenter/ui/fragment/HomePersonFragment.java
View file @
22f3397f
...
@@ -52,7 +52,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme
...
@@ -52,7 +52,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme
private
String
mUserPhone
;
private
String
mUserPhone
;
private
String
mScore
;
private
String
mScore
;
private
int
mAccountBalance
;
private
int
mAccountBalance
;
private
int
mDetectStatus
;
public
static
HomePersonFragment
newInstance
()
{
public
static
HomePersonFragment
newInstance
()
{
Bundle
args
=
new
Bundle
();
Bundle
args
=
new
Bundle
();
...
@@ -66,7 +65,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme
...
@@ -66,7 +65,6 @@ public class HomePersonFragment extends BaseFragment<HomePersonPresenter, Fragme
UserInfo
userInfo
=
UserManager
.
getInstance
().
getUser
();
UserInfo
userInfo
=
UserManager
.
getInstance
().
getUser
();
userId
=
Integer
.
parseInt
(
userInfo
.
getAccountId
());
userId
=
Integer
.
parseInt
(
userInfo
.
getAccountId
());
siteId
=
Integer
.
parseInt
(
userInfo
.
getSiteId
());
siteId
=
Integer
.
parseInt
(
userInfo
.
getSiteId
());
mDetectStatus
=
userInfo
.
getDetectStatus
();
ProgressUtil
.
startLoad
(
mActivity
);
ProgressUtil
.
startLoad
(
mActivity
);
EventBus
.
getDefault
().
register
(
this
);
EventBus
.
getDefault
().
register
(
this
);
// mPresenter.getAllData(userId, siteId);
// mPresenter.getAllData(userId, siteId);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment