The interface is ugly, but basically functional.To learn the recently popular kotlin language, try writing a demo.
Refer to the previous article Palm-like League of Heroes Effect.
1. Prepare before you start
Import the kotlin development environment:The Android Studio 3.0 version is already integrated by default.Checking inclu ...
Posted by eva21 on Sun, 16 Jun 2019 09:30:54 -0700
1. What is broadcastingBroadcast mechanism is used for process/thread communication. The main feature of broadcasting is that the sender does not care whether the recipient receives data or how the recipient processes the data. It is only responsible for saying, regardless of whether you listen or not. Broadcast can come from systems or other a ...
Posted by liquidd on Sun, 16 Jun 2019 09:11:45 -0700
What is a Class Loader
Responsibilities of Class Loaders
Composition of Class Loader
What is Reflection
How to Use Reflection
Application of Reflection in Android
What is a Class LoaderWhen a Java program wants to use a class, if the class has not been loaded into memory, the system will initialize the cl ...
Posted by eliezer on Sat, 15 Jun 2019 17:19:17 -0700
Why customize view?
Add new functionality to the view(textview,imageview, etc.) provided by android
Handling unique user interactions
When android does not provide us with enough views to meet our needs, such as waterfall flow layout, sticky animation and so on, we need to define views ourselves.
With a good command of custom controls, you c ...
Posted by KGodwin on Sat, 15 Jun 2019 13:11:17 -0700
Analysis of Picasso Source Code
When I first came into contact with Android a few years ago, it was more difficult to load and display pictures. Although it was not difficult, you had to care about the network, caching, traffic, memory leaks, etc. At this time, Picasso appeared with an artistic name, which suddenly made me realize the im ...
Posted by JonathanS on Sat, 15 Jun 2019 12:17:48 -0700
This is a useful class for writing a custom viewgroup ViewDragHelper.It provides a number of useful operations and states to allow listeners to drag and drop and reposition child view s in the parent ViewGroup.
1. Steps to use
(1) Customize a View
(2) Create an instance of ViewDragHelper
dragHelper = View ...
Posted by rakennedy75 on Sat, 15 Jun 2019 09:48:55 -0700
Please respect the original, reproduce it from: http://blog.csdn.net/mabeijianxi/article/details/74779611
The inspiration for this article is classical https://github.com/rockerhieu/emojicon , part of the code is directly face-free copy ing, on which it is more beautiful and useful, and has more customization ...
Posted by marc2000 on Sat, 15 Jun 2019 09:37:50 -0700
This is my blog once.
1. Customize a dialog to pop up the bottom pop-up window. It can nest multi-layer controls. Note ViewPager, Recycler View, imageview, etc. can be nested.
2. Set style first, and imitate Google's native dialog to set style.
<style name="style_location_dialog" parent="@android:style/Theme.Dialog">
Posted by viperfunk on Fri, 14 Jun 2019 15:57:13 -0700
In Android development, we often encounter the UI layout with pictures in the top left and bottom right of TextView, and each picture needs to do corresponding logical operations after clicking. In this case, we first think of using linear layout or relative layout to layout, then setting the id for each picture, then getting the corresponding ...
Posted by haroon on Thu, 13 Jun 2019 16:49:38 -0700
Cognition of related categories
DatePicker and TimerPicker both display dates and times in the form of windows, and then return data.
The following sections introduce the use of these time classes.
I. Use of DatePicker Date Selection Class
Common XML attributes of DatePicker
Posted by jemrys on Thu, 13 Jun 2019 14:42:10 -0700