Skip to content

Commit

Permalink
更新mvp 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
zjlong committed Apr 19, 2016
1 parent a0f7cc7 commit 1b89527
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</activity>
<activity android:name=".ui.activity.LoginActivity" />
<activity android:name=".ui.activity.MainActivity" />
<activity android:name="com.common.view.ui.WebViewActivity" />
<activity android:name="com.common.view.base.WebViewActivity" />
</application>

</manifest>
1 change: 1 addition & 0 deletions app/src/main/java/com/matto/model/LoginLogicImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.matto.model.http.MainService;
import com.matto.model.http.ServiceFactory;
import com.matto.pojo.Gank;
import com.matto.ui.view.LoginView;

import retrofit2.Call;
import retrofit2.Callback;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/matto/ui/activity/LoginActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import android.widget.EditText;

import com.common.model.basic.ToastTip;
import com.common.view.ui.BaseActivity;
import com.common.view.base.BaseActivity;
import com.matto.R;
import com.common.model.control.LogicProxy;
import com.matto.model.LoginLogic;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/matto/ui/activity/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import android.view.View;

import com.common.model.control.LogicProxy;
import com.common.view.ui.BaseActivity;
import com.common.view.base.BaseActivity;
import com.matto.R;
import com.matto.model.MainLogic;
import com.matto.ui.fragment.DiscoveryFragment;
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/matto/ui/activity/SplashActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import android.view.animation.ScaleAnimation;
import android.widget.ImageView;

import com.common.view.ui.BaseActivity;
import com.common.view.ui.StatusBarUtil;
import com.common.view.base.BaseActivity;
import com.common.view.base.StatusBarUtil;
import com.matto.R;
import com.matto.util.AnimationUtil;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.matto.ui.fragment;

import com.common.view.ui.BaseFragment;
import com.common.view.base.BaseFragment;
import com.matto.R;

/**
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/matto/ui/fragment/HomeFragment.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.matto.ui.fragment;

import com.common.view.ui.BaseFragment;
import com.common.view.base.BaseFragment;
import com.matto.R;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.matto.ui.fragment;

import com.common.view.ui.BaseFragment;
import com.common.view.base.BaseFragment;
import com.matto.R;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.common.view.ui;
package com.common.view.base;

import android.content.Intent;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.common.view.ui;
package com.common.view.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.common.view.ui;
package com.common.view.base;

import android.app.Activity;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.common.view.ui;
package com.common.view.base;

import android.annotation.TargetApi;
import android.app.Activity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.common.view.ui;
package com.common.view.base;

import android.content.Intent;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.common.view.ui;
package com.common.view.base;

import android.annotation.SuppressLint;
import android.content.Context;
Expand Down
2 changes: 1 addition & 1 deletion basic/src/main/res/layout/view_tool_bar.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.common.view.ui.EasyToolBar
<com.common.view.base.EasyToolBar
android:id="@+id/toolbar"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
Expand Down

0 comments on commit 1b89527

Please sign in to comment.