RxSwift Mapping Operator Has Regret

Along the way, I feel that RxSwift is not as obscure and difficult as before. I even gradually like the idea of responsive programming. It takes objects as observable objects and subscribes to them. With the cooperation of filter operators, all logical operations are performed in background threads. This section is about the most powerful funct ...

Posted by twick100 on Sun, 07 Jul 2019 20:56:22 +0200

EventBus Application and Framework Principle of Android Event Bus Development

Background of EventBus for [Android] Event Bus During the development of our Android project, there are often communication requirements between components such as activities, fragments and service s, and between threads. The most widely used broadcast mechanism of Android framework is Android broadcast mechanism. Android broadcast mechanism is ...

Posted by Rhiknow on Sun, 07 Jul 2019 19:42:58 +0200

Android Imitates Huawei Weather Drawing Dial

Design sketch You can see that this custom control combines color gradient, dynamic drawing scale and dynamic water polo effect. Next, let's see how this effect can be achieved step by step. Start customizing controls Like many custom controls, you need to base a View or a ViewGroup. I chose View here, as follows: public class HuaWei ...

Posted by nc_brox on Sun, 07 Jul 2019 00:50:54 +0200

Android Grouped Suspended List Implementation

* Grouping lists is encountered during App development, and lists want groupings to float at the top of lists while they are sliding.The specific effect diagram is as follows The implementation of a grouped floating list is http://blog.csdn.net/u010335298/article/details/51150346 On the basis of this, corresponding improvements have been ma ...

Posted by Jeannie109 on Sat, 06 Jul 2019 20:15:07 +0200

Code compression confusion and Packaging Optimization for Android ProGuard

Preface This is an actual Demo exercise for sharing only. Please give it to Star if you like. demo link: https://github.com/AnyLifeZLB/AndroidAppFrameWork Why start ProGuard (all trials are in AS environment) Code compression is provided through ProGuard, which detects and removes unused classes, fields, methods, and attributes from encapsulati ...

Posted by blindtoad on Sat, 06 Jul 2019 19:02:04 +0200

Grabbing popular reviews of Netease's music songs to generate ci-clouds

Preface Grasping Data Analysis of grabbing bags Encryption Information Processing Grasp the Contents of Hot Comments Word Cloud Word Cloud Operation Effect summary Preface Netease Cloud Music has always been the "altar" I yearn for. When I listen to the music and see the commentary from the heart, it's a flowing m ...

Posted by simn_stv on Fri, 05 Jul 2019 21:38:49 +0200

[JavaScript] Drawing Tool for Sketchpad Based on H5 canvas (similar to drawing or guessing) - Integrating color selection, saving pictures to local functions

I would like to try to make a web version of the beauty show, which can import the image for processing, and make some templates to quickly generate the character's expression packages, but doing it, found that it took too much time. The result is a simple canvas-based sketchpad. github address: https://github.com/linhongbijkm/canvasPainte ...

Posted by Jude on Thu, 04 Jul 2019 21:37:45 +0200

Submit a pitless version of library to jcenter (no pit expiration date: tentative end of 2017)

Step 1: Log on to Bintray.com Step 2: Register (pit 1: click sign up here, don't click on the big green button, otherwise fall into the pit; pit 2: registered mailbox qq q and Netease can't, outlook can) Step 3: Click edit Step 4: Click on key Step 5: Enter the login password Step 6: Click on the item (copy button) and temporarily ...

Posted by moiseszaragoza on Thu, 04 Jul 2019 21:16:39 +0200

Simulated implementation of JavaScript in-depth new

new In one sentence, introduce new: The new operator creates an instance of a user-defined object type or of one of the built-in object types that has a constructor function. Still from MDN, the reason why the Chinese version is not used is that the translation is not understood... Let's translate this sentence ourselves: The new operator creat ...

Posted by cljones81 on Thu, 04 Jul 2019 02:30:47 +0200

Android's function of imitating friends to circle and talk

This demo uses Qiniu to upload pictures and videos. If you don't want to see it, you can drag it to the bottom and download it from my github. Step 1: build.gradle imports: compile'top.zibin:Luban:1.0.9'//luban for image compression compile 'com.android.support:design:25.3.1' compile'com.qiniu:qiniu-android-sdk:7.2. +'//Qiniu Co ...

Posted by Imagine3 on Thu, 04 Jul 2019 00:20:28 +0200