Some Suggestions on Improving the Compilation Speed of Android studio in Google I/O
There is one in Google I/O How to speed up your slow Gradle builds In the speech, some suggestions to speed up Android studio compilation are put forward, which are as follows:
1. Use the latest Android gradle plug-in
Google tools team has been working to speed up the compilation of Android studio, so it's best to use the latest Android Gradle ...
Posted by sajy2k on Sun, 16 Dec 2018 05:48:03 -0800
Android Architecture Components ViewModel Component Parsing
1 Preface
ViewModel is a very important component of Android architecture component. It is the core of Android architecture hierarchy. You can refer to its usage and information. Android Architecture Components: An Introduction to Android Architecture Components Development
You can also refer to official examples. htt ...
Posted by Skunkmaster on Sun, 16 Dec 2018 02:15:04 -0800
Crash-fix-2:org.springframework.http.converter.HttpMessageNotReadableException
Recently, Crash on APP has been started to correspond, and many common problems have been found. The same problem appears in many APPs. Here are some common errors.
crash Log:
org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 ...
Posted by HERATHEIM on Fri, 14 Dec 2018 14:57:03 -0800
Android Architecture Components Application Architecture Components Source Details (based on more than 1.0) (Part 2 ViewModel and LiveData)
Small partners familiar with m V P mode should be clear, m - > model, V - > View, p - > presenter, p layer calls the business processing of model layer, and returns the result to view layer through interface. The usage of view model introduced here is somewhat similar to that of P layer, but if you put business processing in this view ...
Posted by Blackwind on Fri, 14 Dec 2018 07:03:03 -0800
Sencha Touch Ext. Carousel Switch Bug
There's nothing more frustrating than testing and working applications, only opening it one day and finding it... doesn't work. This is Sencha.
Touch developers will have recent experience because the latest Chrome update (Chrome 43) has caused some errors in the Encha Touch application. This problem arises if you try to view the latest sys ...
Posted by jtjohnson260 on Thu, 13 Dec 2018 10:27:19 -0800
Can not perform this action after onSaveInstanceState
protected void onSaveInstanceState (Bundle outState)
Activities can be invoked before they can be kill ed, saving the state of each instance so that they can be restored in onCreate(Bundle) or onRestore Instance State (Bundle) methods (outState is passed to both methods).
For example, when A starts B and A is invisible, A wil ...
Posted by rolwong on Tue, 11 Dec 2018 23:03:05 -0800
Embrace Android O, Android Fixed Shortcuts
origin
In the newly released Android 8.0 functionality and API, Android 8.0 introduces support for displaying notification flags on application starter icons. Notification flags can reflect whether an application has a notification associated with it, and the user has not cleared it or taken action against it. Notifica ...
Posted by hackerkts on Tue, 11 Dec 2018 20:06:09 -0800
Call system calendar in iOS - <EventKit/EventKit.h> and utility classes (below)
1. First, a brief understanding of EventKit http://docs.xamarin.com/guides/ios/platform_features/introduction_to_eventkit/
Summary
IOS has two built-in calendar applications: Calendar and Reminders. It is obvious that Calendar manages calendar data, while Reminders is not particularly obvious. Reminders have dates for events scheduled, comple ...
Posted by help_lucky on Tue, 11 Dec 2018 15:33:05 -0800
The source code and trick of Lifecycle-Aware of Android Architecture Components
See my brief book https://www.jianshu.com/u/c717eefe3f42
One background
google's Architecture Components Components(lz abbreviated AAC) has been out for a long time, but has not had time to read the source code, take advantage of the recent gap, read the source code of AAC, share the understanding of reading.
What is AA ...
Posted by Dowdy on Tue, 11 Dec 2018 13:24:06 -0800
Android Framework Builds Retrofit2+RxJava+Glide+MVP
github address: Click to jump to Github
Reason
In order to facilitate the use of future projects
The project is still using relatively old things, such as mvc,volley, etc. In the process of building, we also learn some new technology.
How to Use And Pictures
Download and change the package name to be a new project.
I ...
Posted by midi_mick on Tue, 11 Dec 2018 01:03:06 -0800