Recent Posts
-
Java – random and uniform distribution
I know that if I use the random generator in Java and generate numbers with nextint, the numbers will be evenly distri…… -
Java – nested bounded wildcards
When I try to compile the following code: LinkedList<List<? extends Number>> numList = new LinkedList<L…… -
Java – Reference “this” when calling the super constructor?
I have a Class A and write a subclass B. only one constructor is parameterized B must call this super constructor of A…… -
Java EE – compare openejb with GlassFish
Can we replace GlassFish with Tomcat / openejb for lighter applications? What are the limitations of openejb instead o…… -
MediaPlayer. Java. In the displaying () method lang.IllegalStateException
public static MediaPlayer mp=null; public static MediaPlayer mp=null; public static void playGeneric(int name,final Im…… -
Java swing – running on EDT
I have a few questions about swing and use EDT to update the GUI I've just started reading this, so I'm a new beginner…… -
The right way to use varhandle in Java 9?
I spent a lot of time investigating some new features of Java 9, but I didn't find any useful and practical examples C…… -
Android imitates wechat 5 to realize sliding navigation bar
This example shares the Android imitation wechat 5 sliding navigation effect for your reference. The specific contents…… -
Listview implements pull-down refresh and loads more instance code (directly used)
Listview API bixu take a good look mNewsAdapter. notifyDataSetChanged();// Refresh listview Custom refreshlistview Ref…… -
Activit jumps to a position on the animation interface and splits the animation jump by stretching up and down
Requirement: when the activity (fragment) jumps, the current interface splits, pull out the mobile phone screen up and…… -
The end of the ultimate BOSS Android actual combat aircraft game
In this article, we share the Android code of the boss of the airplane game and the design of the victory and failure …… -
Android implements the function of double-click exit
Double click the back button of Android to exit the current app function The basic idea of realizing this function is,…… -
Example code of Android viewpager to jump to the main page after sliding on the last page
Let's talk about the implementation idea first There are two main types of monitoring: First, addonpagechangelistener(…… -
Implementation of Android global floating window independent of activity
preface When we use 360 security guard on the mobile phone, a small floating window will appear on the mobile phone sc…… -
Httpclient uploads the instance code of the file through post
In the project in the previous paragraph, Java is used to imitate HTTP post to send parameters and files. If parameter…… -
Android uses fragment to achieve tab effect
Use fragment to achieve tab effect: Set radiogroup and fragment to achieve tab effect. The key files are: 1. Fragmentt…… -
Practice and principle analysis of single refresh method for Android listview
We are not familiar with the method of using listView to refresh with adapter. First we refresh the data in adapter, t…… -
Detailed explanation of how to use xutils3 framework in Android (I)
Introduction to xutils Xutils contains many useful Android tools. Xutils supports large file upload, more comprehensiv…… -
Android reminder micro tips do you really know dialog, toast and snackBar
Dialog and toast are certainly familiar to everyone. We usually use too much. SnackBar is a new control provided in th…… -
Android5. New features of material design in 0
Introduction to material design Material design is Google's new design language. Google hopes to unify the user experi…… -
Custom combination control of Android custom control (3)
preface: The first two articles introduce the basic principle of custom controls, and the detailed explanation of the …… -
Android Scrollview sliding to realize the gradient of QQ space title bar
Today's research is Scrollview - scroll view, which is divided into horizontal scroll view and vertical scroll view. T…… -
Android imitation Alipay payment from bottom pop-up effect
When we use Alipay to pay, we will play a dialog box from the bottom, let's choose the payment method and so on. Today…… -
Android implements the top navigation indicator imitating Netease News
We know that the page navigator is used in almost all projects. Usually, in order to save time, we will directly use o…… -
Android network connection judgment and related processing
This article shares the Android network connection judgment and related processing for your reference. The specific co…… -
Module implementation method of separately compiling Android source code
After downloading the Android source code project for the first time, we usually execute the make command in the Andro…… -
How does Android customize view properties
This example introduces the method of customizing view properties for Android for your reference. The specific content…… -
Android4. 4. Web API realizes photo upload function
There are many ways to upload photos online. If you use the new version of Android to run, you may find that it can't …… -
Android imitates wechat to realize the initial navigation bar
This article introduces how Android implements the initial navigation bar. First look at the effect picture. How to im…… -
Android6. 0 imitation wechat permission settings
Android version 6.0 is the most unfriendly to programmers. The setting of dynamic permissions once bothered me. At pre…… -
Android studio writes a simple flashlight app
Very good flashlight app, to share with you, I hope you like it. 1. Java code 2. FireActivity. java 3. content_ fire. ……