flutter develops an application
Details page, directly on the code:
class GankDetailPage extends StatefulWidget {
GankDetailPage({Key key, this.gankBean}) : super(key: key);
final GankBean gankBean;
@override
_GankDetailPageState createState() => new _GankDetailPageState(gankBean);
}
class _GankDetailPageState extend ...
Posted by gozbay.com on Sun, 06 Oct 2019 19:58:55 -0700
Codeforces 1201D - Treasure Hunting Codeforces Round #577 (Div. 2)
On-line problem solving is relatively small, and I have been studying it for half a day, hoping that it will be helpful to people who are looking for solutions.
Topic link: https://codeforc.es/contest/1201/problem/D
Topic: Give you a rectangle with a starting point at (1,1). If you have treasures in a given coordinate, you need to take all th ...
Posted by JonathanReinink on Sun, 06 Oct 2019 15:25:37 -0700
On the Idea of Dividing and Consolidating
Merge sort
If you want to understand the idea of merging, you can not do without the understanding of merging and sorting. When you look at other people's code, you can't understand it.
Comparing two arrays at a time, notice that it can be two different intervals of an array, and store smaller numbers in a temporary array at a time, thus comple ...
Posted by visualAd on Sun, 06 Oct 2019 15:09:04 -0700
Dynamic routing based on iview-admin
iview-admin It is a management background front end based on vue and iView component library. Based on the latest version of iview-admin, this paper implements dynamic routing loading based on privilege.For the code in this article, see: https://github.com/MayBeWrong...
Background:
Dynamic routing: The route of vue can be defined by the new Ro ...
Posted by wikedawsum on Sun, 06 Oct 2019 13:04:01 -0700
(Nowcoder) E.Explorer
Portal
Implication: Give an undirected graph, each edge has a size interval [l,r], representing the number of schemes that can be calculated from 1 to n by human size.
Solution: It can be done by lct, but I haven't learned LCT yet. In the method of line segment tree + union search, we first discret ...
Posted by sissy on Sat, 05 Oct 2019 08:18:16 -0700
Graceful implementation of REST API requests based on Moya, RxSwift and ObjectMapper
There are very powerful Retrofit requests in Android development, and it is very convenient to implement RESTful API network requests with RxJava. There are also very powerful network request libraries in iOS development Moya Moya is a lightweight Swift network layer based on Alamoire. Moya's scalability is very strong, and it can be easily com ...
Posted by kiwi_uk on Fri, 04 Oct 2019 16:22:46 -0700
[P1393 Dynamic Inverse Pairs] Tree Array Set Dynamic Open-Point Line Segment Tree + Tree Array
P1393
This topic lays a foundation for the division and conquer of CDQ.
Let's start with how this blog works.
We need to know that the number of inverse pairs whose answers are reduced by deleting a number is equal to the value of the coordinates in front of the deleted number is larger than mine.
The v ...
Posted by Zhadus on Fri, 04 Oct 2019 08:36:34 -0700
Android ios only calls photography in webapp.
Android ios only calls photography in webapp.
Happy work, many problems. (o()o)
The new problem of webapp is to solve a problem that the camera can not call the album directly when click ing on the uploaded picture. (What kind of operation is it?
I only remember that this property of capture can direc ...
Posted by phpcoding2 on Fri, 04 Oct 2019 05:46:38 -0700
A Preliminary Trial of RxSwift, RxBlocking and RxTest
RxJava has become one of the most important components of Android development. Recently, iOS applications have been developed using Swift. Consider using RxSwift in architecture design.
Add dependency
# Podfile
use_frameworks!
target 'YOUR_TARGET_NAME' do
pod 'RxSwift', '~> 5'
pod 'RxCocoa', '~> 5'
pod 'RxBlocking', '~> 5' ...
Posted by nagasea on Wed, 02 Oct 2019 19:55:37 -0700
Runtime dynamically creates a class and modifies the operation of the method
As we all know, Objective-C is a dynamic language, and its dynamics is embodied in runtime on the one hand.
Next, let's take a look at creating a class dynamically through runtime, adding attributes and methods to the class, and also modifying and replacing the implementation of existing methods.
The ...
Posted by kevin1 on Tue, 01 Oct 2019 18:43:29 -0700