mirror of
https://github.com/WuXiaolong/AndroidMVPSample.git
synced 2025-06-28 20:35:56 +08:00
readme
This commit is contained in:
parent
0d64ec76d7
commit
9665626b86
30
.idea/misc.xml
generated
30
.idea/misc.xml
generated
@ -1,5 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points version="2.0" />
|
||||
</component>
|
||||
<component name="NullableNotNullManager">
|
||||
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
|
||||
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
|
||||
<option name="myNullables">
|
||||
<value>
|
||||
<list size="4">
|
||||
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
|
||||
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
|
||||
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
|
||||
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
<option name="myNotNulls">
|
||||
<value>
|
||||
<list size="4">
|
||||
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
|
||||
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
|
||||
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
|
||||
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
||||
<OptionsSetting value="true" id="Add" />
|
||||
<OptionsSetting value="true" id="Remove" />
|
||||
@ -16,9 +43,6 @@
|
||||
<component name="ProjectType">
|
||||
<option name="id" value="Android" />
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration>C:\Users\WuXiaolong\AppData\Roaming\Subversion</configuration>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
<state key="ProjectJDKs.UI">
|
||||
|
2
.idea/vcs.xml
generated
2
.idea/vcs.xml
generated
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="" />
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
12
README.md
12
README.md
@ -1,2 +1,14 @@
|
||||
# Android MVP 实例
|
||||
简单的请求天气功能,演示Android MVP是如何使用的
|
||||
|
||||
# 效果预览
|
||||

|
||||
|
||||
# 详见博客
|
||||
[http://wuxiaolong.me/2015/09/23/AndroidMVPSample/](http://wuxiaolong.me/2015/09/23/AndroidMVPSample/)
|
||||
|
||||
更多交流
|
||||
===========================
|
||||
###Android技术交流群
|
||||
②群:376526418<a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=5017aa79b1bc2726134ce1d6bc3060306022d1a2155f303709b02824d47a8e59"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="剩者为王②群" title="剩者为王②群"></a><br><br>
|
||||
③群:370527306<a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=0a992ba077da4c8325cbfef1c9e81f0443ffb782a0f2135c1a8f7326baac58ac"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="剩者为王③群" title="剩者为王③群"></a>
|
@ -12,6 +12,7 @@ import cz.msebera.android.httpclient.Header;
|
||||
|
||||
/**
|
||||
* Created by WuXiaolong on 2015/9/23.
|
||||
* 业务具体处理
|
||||
*/
|
||||
public class MainPresenter implements Presenter<MainView> {
|
||||
private MainView mMainView;
|
||||
|
@ -4,9 +4,12 @@ import com.wuxiaolong.androidmvpsample.model.MainModel;
|
||||
|
||||
/**
|
||||
* Created by WuXiaolong on 2015/9/23.
|
||||
* 处理业务需要哪些方法
|
||||
*/
|
||||
public interface MainView {
|
||||
void showData(MainModel mainModel);
|
||||
|
||||
void showProgress();
|
||||
|
||||
void hideProgress();
|
||||
}
|
||||
|
BIN
screenshots.png
Normal file
BIN
screenshots.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Loading…
x
Reference in New Issue
Block a user