mafei.me

android versionNameversionCode 42 gitandroid versionNameversionCodegit43 versionNamegit describe a. b. c. Example (a-b) 44 HEADgit describe Example (a-c) 45 46 git1.0-2-gdca226a 47 versionCodegitversionCodeprevious 48 3versionCode gitdev buildHEAD 49 HEAD1484407970UNIX19701100:00:00 UTCversionCodecurrentmillis.comSat 1142017 15:32:50 UTC gitgrgitscript-git-version.gradle 50 build.gradle 51 version name codegradle./gradlew printVersion 52 build.gradlegitVersionNamegitVersionCodegitVersionCodeTime 53 54 - Android lintAndroid lintandroidscript-lint.gradle55 lint script-lint.gradlebuild.gradle 56 ./gradlew lintlint 57 lint.html 58 rules-lint.xml 59 lintlint Java findbugandroidscript-findbugs.gradle 60 findbugs script-findbugs.gradlebuild.gradle 61 62 findbugs ./gradlew findbugs 63 findbugs.html 64 rules-findbugs.xml 65 findbugsfindbugs PMDcatch pmdandroidscript-pmd.gradle 66 pmd script-pmd.gradlebuild.gradle 67 68 ./gradlew pmdpmd 69 pmd.html 70 rules-pmd.xml 71 pmdpmd Android StudioAndroidgitignore gitignoregitignore.io AndroidIntellij 1 gitignore ProjectAndroid tools 2 gradleproguardpmdfindbugslint tools Flavoursflavors devprod 3 productFlavors keystore IDEAndroid StudioAndroid SDKAPK keystore 4 signingConfigs Android proguard proguard 5 Proguardproguard 6 proguard android-proguard-snippetsproguard 7 rules-proguard.prorules-proguard-debug.pro Android StrictMode detectAll 8 SQLiteCursor 9 StrictMode https://medium.com/@cervonefrancesco/model-view-presenter-android-guidelines-94970b430ddf#.nqgbpr2bj MVPAndroid AndroidActivity 1 AndroidviewActivitiesFragmentsAndroidPassive Viewcontrollerviewcontrollerpresenter username/passwordviewpresenterviewpresenter presenterAndroidpresenterjavapresenterRobolectricJVM Context? contextpresenterviewmodel contractcontractviewpresenter Google Android Architecture repositorycontractviewpresenter contract view viewActivityFragmentpresenterviewActivitypresenterSOLIDD presentermock view Presenter Presenterpresenterview mock presenterMockito Presenter presenter actionview loadMore()presenterviewonScrolledToEndpresenter contractaction presenteronCreateonStartonResume viewpresenterpresenterviewviewpresenterview presenterviewpresenterattach(View view)detach()viewnullpresenternull presenterviewpresenterviewpresenterstartPresenter detach() startpresenterstartstop BundleBundlepresenterAndroid presenterpresenter/ presenter fragments LoaderspresenterpresenterAndroidActivitypresenter RepositoryActivity Modelpresenter view AndroidModel-View-Presenter PAD GoogleGmailGoogle Drive15GGoogle DocGoogle Photo GmailGoogle DriveGmailGoogle Drivemacspotlight ZERO TO ONET128GMac16Giphone Growth HackerHotmail 1996HotmailHotmailHotmail3000 T frontpage2012Android3APP360PSGAAxureCSDNWordPressHexo PPT~ RxAndroid RxJavaRxJavaAndroid Version Name & Codeandroid versionNameversionCode versionCodeversionNamebuild.gradl gitignoreAndroid StudioAndroidgitignore gitignoregitignore.io AndroidIntelli https://medium.com/@cervonefrancesco/model-view-presenter-android-guidelines-94970b430ddf#.nqgbpr2bj MVP Ss0CClWuKM FullStackEngineer ShangHai, China posts tags 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 1 2 3 4 5 6 7 8 9 1 1 6 4 1 11 3 1 1 6 1 2 4 1 1 4 2 2 5 4 6 4 1 1 1 1 1 1 1 1 1 1 3 4 1 5 1 3 1 1 1 6 1 2 Android CI Android Android Android CI Android

Text Source
__ [/] Home [/.] Archives [/archives] Categories [/categories] Tags [/tags] About [/about] __ Home [/.] Archives [/archives] Categories [/categories] Tags [/tags] About [/about] ANDROID DEVELOPER & DESIGNER __ShangHai, China FOLLOW [https://github.com/logan62334] 36 posts 19 tags __ [https://github.com/logan62334] __ [https://twitter.com/logan62334] __ [https://www.facebook.com/profile.php?id=100011220522795] __ [https://dribbble.com/logan62334] __ [http://feed43.com/logan62334.xml] ANDROID - [/2017/03/22/Android-/] __ 2017-03-22 [/2017/03/22/Android-/] __ Android [/categories/Android/] __ Android [/tags/Android/] VERSION NAME & CODE android versionNameversionCode [42] [https://github.com/logan62334/ImageArchive/raw/master/Android/42.png]42 * * versionCodeversionNamebuild.gradle gitandroid versionNameversionCodegit[43] [https://github.com/logan62334/ImageArchive/raw/master/Android/43.png]43 VERSION NAME versionNamegit describe > a. >  > b. >  > c. EXAMPLE (A-B) [44] [https://github.com/logan62334/ImageArchive/raw/master/Android/44.png]44 * tag1.0 * * git describe -tags * 1.0 HEADgit describe EXAMPLE (A-C) [45] [https://github.com/logan62334/ImageArchive/raw/master/Android/45.png]45 * tag1.0 * * git describe -tags * _1.0-2-gdca226a_ [46] [https://github.com/logan62334/ImageArchive/raw/master/Android/46.png]46 git1.0-2-gdca226a [47] [https://github.com/logan62334/ImageArchive/raw/master/Android/47.png]47 VERSION CODE versionCodegitversionCodeprevious [48] [https://github.com/logan62334/ImageArchive/raw/master/Android/48.png]48 3versionCode gitdev buildHEAD [49] [https://github.com/logan62334/ImageArchive/raw/master/Android/49.png]49 HEAD1484407970UNIX19701100:00:00 UTCversionCodecurrentmillis.comSat 1142017 15:32:50 UTC _GROOVY_ WAY TO USE _GIT_ gitgrgitscript-git-version.gradle [50] [https://github.com/logan62334/ImageArchive/raw/master/Android/50.png]50 build.gradle [51] [https://github.com/logan62334/ImageArchive/raw/master/Android/51.png]51 version name codegradle./gradlew printVersion [52] [https://github.com/logan62334/ImageArchive/raw/master/Android/52.png]52 build.gradlegitVersionNamegitVersionCodegitVersionCodeTime [53] [https://github.com/logan62334/ImageArchive/raw/master/Android/53.png]53 [54] [https://github.com/logan62334/ImageArchive/raw/master/Android/54.png]54 * build.gradle - versionCodeversionName * >  ------------------------- [https://github.com/logan62334/ImageArchive/raw/master/weixin/weixin.jpg] __Share Comments [http://logan62334.github.io/2017/03/22/Android-/#comments] ANDROID - [/2017/03/21/Android-/] __ 2017-03-21 [/2017/03/21/Android-/] __ Android [/categories/Android/] __ Android [/tags/Android/] - Android * Lint * PMD * Findbugs LINT > lintAndroid lintandroidscript-lint.gradle[55] [https://github.com/logan62334/ImageArchive/raw/master/Android/55.png]55 lint * _lintConfig_lint * _htmlOutput_html script-lint.gradlebuild.gradle [56] [https://github.com/logan62334/ImageArchive/raw/master/Android/56.png]56 ./gradlew lintlint [57] [https://github.com/logan62334/ImageArchive/raw/master/Android/57.png]57 lint.html [58] [https://github.com/logan62334/ImageArchive/raw/master/Android/58.png]58 rules-lint.xml [59] [https://github.com/logan62334/ImageArchive/raw/master/Android/59.png]59 lintlint FINDBUGS > Java findbugandroidscript-findbugs.gradle [60] [https://github.com/logan62334/ImageArchive/raw/master/Android/60.png]60 findbugs * _excludeFilter_findbugs * _classes__flavor__flavor_dev * _source_ * _html.destination_html script-findbugs.gradlebuild.gradle [61] [https://github.com/logan62334/ImageArchive/raw/master/Android/61.png]61 [62] [https://github.com/logan62334/ImageArchive/raw/master/Android/62.png]62 findbugs ./gradlew findbugs [63] [https://github.com/logan62334/ImageArchive/raw/master/Android/63.png]63 findbugs.html [64] [https://github.com/logan62334/ImageArchive/raw/master/Android/64.png]64 rules-findbugs.xml [65] [https://github.com/logan62334/ImageArchive/raw/master/Android/65.png]65 findbugsfindbugs PMD > PMDcatch pmdandroidscript-pmd.gradle [66] [https://github.com/logan62334/ImageArchive/raw/master/Android/66.png]66 pmd * _ruleSetFiles_pmd * _source_ * _html.destination_html _script-pmd.gradle_build.gradle [67] [https://github.com/logan62334/ImageArchive/raw/master/Android/67.png]67 [68] [https://github.com/logan62334/ImageArchive/raw/master/Android/68.png]68 ./gradlew pmdpmd [69] [https://github.com/logan62334/ImageArchive/raw/master/Android/69.png]69 pmd.html [70] [https://github.com/logan62334/ImageArchive/raw/master/Android/70.png]70 rules-pmd.xml [71] [https://github.com/logan62334/ImageArchive/raw/master/Android/71.png]71 pmdpmd ------------------------- [https://github.com/logan62334/ImageArchive/raw/master/weixin/weixin.jpg] __Share Comments [http://logan62334.github.io/2017/03/21/Android-/#comments] ANDROID - [/2017/03/20/Android/] __ 2017-03-20 [/2017/03/20/Android/] __ Android [/categories/Android/] __ Android [/tags/Android/] GITIGNORE Android StudioAndroidgitignore gitignoregitignore.io AndroidIntellij [1] [https://github.com/logan62334/ImageArchive/raw/master/Android/33.png]1 > _gitignore_ > [https://github.com/dmytrodanylyk/template/blob/master/.gitignore] TOOLS FOLDER ProjectAndroid tools [2] [https://github.com/logan62334/ImageArchive/raw/master/Android/34.png]2 gradleproguardpmdfindbugslint > tools [https://github.com/dmytrodanylyk/template/tree/master/tools] FLAVORS Flavoursflavors devprod * applicationId * versionCode / versionName * server endpoints * google services keys * [3] [https://github.com/logan62334/ImageArchive/raw/master/Android/35.png]3 > productFlavors > [https://github.com/dmytrodanylyk/template/blob/master/app/build.gradle#L33] KEYSTORE keystore IDEAndroid StudioAndroid SDKAPK keystore * 365 * * googleSHA-1 [4] [https://github.com/logan62334/ImageArchive/raw/master/Android/36.png]4 > signingConfigs > [https://github.com/dmytrodanylyk/template/blob/master/app/build.gradle#L18] PROGUARD Android proguard * 64k * apk * APK proguard * rules-proguard.pro * rules-proguard-debug.pro [5] [https://github.com/logan62334/ImageArchive/raw/master/Android/37.png]5 Proguardproguard [6] [https://github.com/logan62334/ImageArchive/raw/master/Android/38.png]6 proguard _android-proguard-snippets_ [https://github.com/krschultz/android-proguard-snippets]proguard [7] [https://github.com/logan62334/ImageArchive/raw/master/Android/39.png]7 > rules-proguard.pro > [https://github.com/dmytrodanylyk/template/blob/master/tools/rules-proguard.pro]rules-proguard-debug.pro > [https://github.com/dmytrodanylyk/template/blob/master/tools/rules-proguard-debug.pro] STRICT MODE Android StrictMode * * * uri * detectAll [8] [https://github.com/logan62334/ImageArchive/raw/master/Android/40.png]8 SQLiteCursor [9] [https://github.com/logan62334/ImageArchive/raw/master/Android/41.png]9 > StrictMode > [https://github.com/dmytrodanylyk/template/blob/master/app/src/main/java/com/dd/template/TemplateApplication.java#L12] ------------------------- [https://github.com/logan62334/ImageArchive/raw/master/weixin/weixin.jpg] __Share Comments [http://logan62334.github.io/2017/03/20/Android/#comments] MODEL-VIEW-PRESENTER:ANDROID [/2017/03/10/Model-View-Presenter:Android/] __ 2017-03-10 [/2017/03/10/Model-View-Presenter:Android/] __ Android [/categories/Android/] __ Android [/tags/Android/] > https://medium.com/@cervonefrancesco/model-view-presenter-android-guidelines-94970b430ddf#.nqgbpr2bj > [https://medium.com/@cervonefrancesco/model-view-presenter-android-guidelines-94970b430ddf#.nqgbpr2bj] MVPAndroid AndroidActivity * _presenter_ * _presenter_ * _presenter_ * * [1] [https://github.com/logan62334/ImageArchive/raw/master/Android/32.png]1 * MODELAPIRepositoryRepositoryCleanModelInteractor * PRESENTERpresentermodelviewpresentermodelview * VIEWpresenterviewActivities FragmentsAndroid widgetProgressBarTextViewRecyclerView 1. VIEW AndroidviewActivitiesFragmentsAndroidPASSIVE VIEW [https://martinfowler.com/eaaDev/PassiveScreen.html]controllerviewcontrollerpresenter username/passwordviewpresenterviewpresenter 2. PRESENTER presenterAndroidpresenterjavapresenterRobolectric [http://robolectric.org/]JVM > Context? contextpresenterviewmodel 3. CONTRACTVIEWPRESENTER contractcontractviewpresenter Google Android Architecture [https://github.com/googlesamples/android-architecture] repositorycontractviewpresenter 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 public interface SearchRepositoriesContract {   interface View {     void addResults(List repos);     void clearResults();     void showContentLoading();     void hideContentLoading();     void showListLoading();     void hideListLoading();     void showContentError();     void hideContentError();     void showListError();     void showEmptyResultsView();     void hideEmptyResultsView();   }   interface Presenter extends BasePresenter {     void load();     void loadMore();     void queryChanged(String query);     void repositoryClick(Repository repo);   } } contract view THE VIEW CONTRACT viewActivityFragmentpresenterviewActivitypresenterSOLIDD presentermock view THE PRESENTER CONTRACT > Presenter Presenterpresenterview mock presenterMockito [http://site.mockito.org/] PRESENTER * presenterContractviewpresenter * 4. presenter * ACTIONSe.g: load()presenter * USER EVENTSe.g:queryChanged() actionview loadMore()presenterviewonScrolledToEndpresenter contractaction 5. PRESENTERACTIVITY-LIFECYCLE-STYLE presenteronCreateonStartonResume * presenterActivityFragmentActivitypresenter.onCreatestatefragmentonCreate()onCreateView()onViewCreated()view * presenterAndroid 6. PRESENTERVIEW11 viewpresenterpresenterviewviewpresenterview presenterviewpresenterattach(View view)detach()viewnullpresenternull presenterviewpresenterviewpresenterstartPresenter > _detach()_ startpresenterstartstop 1 2 3 4 public interface BasePresenter {   void attach(V view);   void detach(); } 1 2 3 4 public interface BasePresesnter {   void start();   void stop(); } 7. PRESENTER BundleBundlepresenterAndroid presenterpresenter/ 8. PRESENTER presenter fragments Loaders [https://medium.com/@czyrux/presenter-surviving-orientation-changes-with-loaders-6da6d86ffbbf#.ii7px6adf]presenterpresenterAndroidActivitypresenter 9. MODEL RepositoryActivity Modelpresenter view * modelpresenterrepository.getparamsAPI * contractpresenterrestoreparamsloadFromCacheparamsreloadparams AndroidModel-View-Presenter ------------------------- [https://github.com/logan62334/ImageArchive/raw/master/weixin/weixin.jpg] __Share Comments [http://logan62334.github.io/2017/03/10/Model-View-Presenter:Android/#comments] [/2016/10/13//] __ 2016-10-13 [/2016/10/13//] __ [/categories//] __ [/tags//] [https://github.com/logan62334/ImageArchive/raw/master/life/2.jpg] >  PAD GoogleGmailGoogle Drive15GGoogle DocGoogle Photo GmailGoogle DriveGmailGoogle Drivemacspotlight ZERO TO ONET128GMac16Giphone ------------------------- [https://github.com/logan62334/ImageArchive/raw/master/weixin/weixin.jpg] __Share Comments [http://logan62334.github.io/2016/10/13//#comments] GROWTH HACKER [/2016/09/29/GrowthHacker/] __ 2016-09-29 [/2016/09/29/GrowthHacker/] __ [/categories//] __ [/tags//] [https://github.com/logan62334/ImageArchive/raw/master/Android/31.png] __ Growth HackerHotmail 1996HotmailHotmailHotmail3000 T frontpage2012Android3APP360PSGAAxureCSDNWordPressHexo ------------------------- [https://github.com/logan62334/ImageArchive/raw/master/weixin/weixin.jpg] __Share Comments [http://logan62334.github.io/2016/09/29/GrowthHacker/#comments] 12 [/page/2/]3 [/page/3/]6 [/page/6/]Next [/page/2/] CATEGORIES * Android [/categories/Android/]6 * Android [/categories/Android/]4 * Android [/categories/Android/]1 * Android [/categories/Android/]11 * Android [/categories/Android/]3 * CI [/categories/CI/]1 * Git [/categories/Git/]1 * [/categories//]6 * [/categories//]1 * [/categories//]2 ARCHIVES * March 2017 [/archives/2017/03/]4 * October 2016 [/archives/2016/10/]1 * September 2016 [/archives/2016/09/]1 * August 2016 [/archives/2016/08/]4 * July 2016 [/archives/2016/07/]2 * June 2016 [/archives/2016/06/]2 * May 2016 [/archives/2016/05/]5 * April 2016 [/archives/2016/04/]4 * March 2016 [/archives/2016/03/]6 * February 2016 [/archives/2016/02/]4 * January 2016 [/archives/2016/01/]1 * December 2015 [/archives/2015/12/]1 * December 2014 [/archives/2014/12/]1 TAGS * Android 6.0 [/tags/Android-6-0/]1 * Android redex [/tags/Android-redex/]1 * Android [/tags/Android--/]1 * Android [/tags/Android-/]1 * Android [/tags/Android--/]1 * Android [/tags/Android-/]1 * Android [/tags/Android-/]1 * AndroidUI [/tags/AndroidUI/]3 * Android [/tags/Android/]4 * Android [/tags/Android/]1 * Android [/tags/Android/]5 * Android [/tags/Android/]1 * Android [/tags/Android/]3 * CI [/tags/CI/]1 * Git [/tags/Git/]1 * webview [/tags/webview/]1 * [/tags//]6 * [/tags//]1 * [/tags//]2 TAG CLOUD Android 6.0 [/tags/Android-6-0/] Android redex [/tags/Android-redex/] Android [/tags/Android--/] Android [/tags/Android-/] Android [/tags/Android--/] Android [/tags/Android-/] Android [/tags/Android-/] AndroidUI [/tags/AndroidUI/] Android [/tags/Android/] Android [/tags/Android/] Android [/tags/Android/] Android [/tags/Android/] Android [/tags/Android/] CI [/tags/CI/] Git [/tags/Git/] webview [/tags/webview/] [/tags//] [/tags//] [/tags//] LINKS * AllenWang [http://blog.imallen.wang/] * CODE_HOME [http://zhoulingyu.com/] 2017 Powered by Hexo [http://hexo.io/]. Theme by PPOffice [http://github.com/ppoffice] __ Posts __[] RxAndroidDagger2 PPT~ RxAndroid RxJavaRxJavaAndroid __Android - Version Name & Codeandroid versionNameversionCode versionCodeversionNamebuild.gradl __Android - gitignoreAndroid StudioAndroidgitignore gitignoregitignore.io AndroidIntelli __Model-View-Presenter:Android https://medium.com/@cervonefrancesco/model-view-presenter-android-guidelines-94970b430ddf#.nqgbpr2bj MVP __ Pages __(Untitled) Ss0CClWuKM __About FullStackEngineer __Categories __TagsCategories __AndroidAndroid __ __ __CICI __AndroidAndroidTags __AndroidAndroid __AndroidAndroid __ __CICI __AndroidAndroid
HTML Source
Other Screenshots you might like
hdcoolwallpapers.com
wegotmedia.co
jw-oomiya.co.jp
singsale.com.sg
amexessentials.com
freemeteo.si
elithecomputerguy.com
premierecinemas.cz
dearsystems.com