├── .gitignore ├── demo.png ├── .settings ├── org.eclipse.core.resources.prefs ├── org.eclipse.jdt.apt.core.prefs └── org.eclipse.jdt.core.prefs ├── ic_launcher-web.png ├── res ├── drawable-hdpi │ ├── abc.png │ ├── cc.png │ ├── ic_launcher.png │ ├── myshape.xml │ ├── shadow1.xml │ ├── myshape1.xml │ └── shadow2.xml ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ └── ic_launcher.png ├── values-sw600dp │ └── dimens.xml ├── values │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── menu │ └── main.xml ├── values-sw720dp-land │ └── dimens.xml ├── values-v11 │ └── styles.xml ├── layout │ ├── activity_main.xml │ └── list_item_layout.xml └── values-v14 │ └── styles.xml ├── libs ├── android-support-v4.jar └── androidannotations-api-3.0.1.jar ├── complie-libs └── androidannotations-3.0.1.jar ├── .factorypath ├── README.md ├── src └── net │ └── mobctrl │ └── listviewdemo │ ├── UpdateCallback.java │ ├── Model.java │ ├── MainActivity.java │ └── ListAdapter.java ├── project.properties ├── .classpath ├── proguard-project.txt ├── .project └── AndroidManifest.xml /.gitignore: -------------------------------------------------------------------------------- 1 | /.apt_generated 2 | 3 | bin/ -------------------------------------------------------------------------------- /demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/demo.png -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/ic_launcher-web.png -------------------------------------------------------------------------------- /res/drawable-hdpi/abc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/res/drawable-hdpi/abc.png -------------------------------------------------------------------------------- /res/drawable-hdpi/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/res/drawable-hdpi/cc.png -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/libs/android-support-v4.jar -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /libs/androidannotations-api-3.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/libs/androidannotations-api-3.0.1.jar -------------------------------------------------------------------------------- /complie-libs/androidannotations-3.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nuptboyzhb/ListViewPartRefreash/HEAD/complie-libs/androidannotations-3.0.1.jar -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.apt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.apt.aptEnabled=true 3 | org.eclipse.jdt.apt.genSrcDir=.apt_generated 4 | org.eclipse.jdt.apt.reconcileEnabled=true 5 | -------------------------------------------------------------------------------- /res/values-sw600dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | -------------------------------------------------------------------------------- /res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | TestAA 5 | Settings 6 | Hello world! 7 | 8 | -------------------------------------------------------------------------------- /res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /.factorypath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ListViewPartRefreash 2 | ==================== 3 | 4 | Refresh the listView partly 5 | 6 | 7 | ![image](https://github.com/nuptboyzhb/ListViewPartRefreash/blob/master/ic_launcher-web.png) 8 | 9 | demo: 10 | 11 | ![image](https://github.com/nuptboyzhb/ListViewPartRefreash/blob/master/demo.png) -------------------------------------------------------------------------------- /res/values-sw720dp-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 128dp 8 | 9 | -------------------------------------------------------------------------------- /res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /res/drawable-hdpi/myshape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/net/mobctrl/listviewdemo/UpdateCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * $filename: UpdateCallback.java,v $ 3 | * $Date: 2014-9-19 $ 4 | * Copyright (C) ZhengHaibo, Inc. All rights reserved. 5 | * This software is Made by Zhenghaibo. 6 | */ 7 | package net.mobctrl.listviewdemo; 8 | /* 9 | *@author: ZhengHaibo 10 | *blog: http://blog.csdn.net/nuptboyzhb 11 | *mail: zhb931706659@126.com 12 | *web: http://www.mobctrl.net 13 | *2014-9-19 Nanjing,njupt,China 14 | */ 15 | public interface UpdateCallback { 16 | public void startProgress(Model model,int position); 17 | } 18 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 11 | org.eclipse.jdt.core.compiler.processAnnotations=enabled 12 | org.eclipse.jdt.core.compiler.source=1.6 13 | -------------------------------------------------------------------------------- /res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ListViewPartRefreash 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 9 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/net/mobctrl/listviewdemo/Model.java: -------------------------------------------------------------------------------- 1 | /* 2 | * $filename: Model.java,v $ 3 | * $Date: 2014-9-19 $ 4 | * Copyright (C) ZhengHaibo, Inc. All rights reserved. 5 | * This software is Made by Zhenghaibo. 6 | */ 7 | package net.mobctrl.listviewdemo; 8 | 9 | /* 10 | *@author: ZhengHaibo 11 | *blog: http://blog.csdn.net/nuptboyzhb 12 | *mail: zhb931706659@126.com 13 | *web: http://www.mobctrl.net 14 | *2014-9-19 Nanjing,njupt,China 15 | */ 16 | public class Model { 17 | private int id; 18 | private String name; 19 | /** 20 | * @return the id 21 | */ 22 | public int getId() { 23 | return id; 24 | } 25 | /** 26 | * @param id the id to set 27 | */ 28 | public void setId(int id) { 29 | this.id = id; 30 | } 31 | /** 32 | * @return the name 33 | */ 34 | public String getName() { 35 | return name; 36 | } 37 | /** 38 | * @param name the name to set 39 | */ 40 | public void setName(String name) { 41 | this.name = name; 42 | } 43 | 44 | public Model(int id, String name) { 45 | super(); 46 | this.id = id; 47 | this.name = name; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /res/layout/list_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 |