Skip to content

Instantly share code, notes, and snippets.

[{"id":292,"n":"上海"},{"id":366,"n":"深圳"},{"id":291,"n":"重庆"},{"id":290,"n":"北京"},{"id":365,"n":"广州"},{"id":880,"n":"成都"},{"id":974,"n":"杭州"},{"id":371,"n":"东莞"},{"id":561,"n":"武汉"},{"id":373,"n":"佛山"},{"id":791,"n":"西安"},{"id":293,"n":"天津"},{"id":628,"n":"南京"},{"id":489,"n":"郑州"},{"id":598,"n":"长沙"},{"id":295,"n":"合肥"},{"id":1001,"n":"温州"},{"id":1332,"n":"苏州"},{"id":950,"n":"昆明"},{"id":722,"n":"沈阳"},{"id":992,"n":"宁波"},{"id":453,"n":"石家庄"},{"id":662,"n":"无锡"},{"id":409,"n":"中山"},{"id":829,"n":"青岛"},{"id":649,"n":"南通"},{"id":1355,"n":"台州"},{"id":693,"n":"长春"},{"id":729,"n":"大连"},{"id":379,"n":"惠州"},{"id":528,"n":"哈尔滨"},{"id":674,"n":"南昌"},{"id":323,"n":"厦门"},{"id":328,"n":"福州"},{"id":677,"n":"赣州"},{"id":805,"n":"济南"},{"id":411,"n":"南宁"},{"id":630,"n":"常州"},{"id":664,"n":"徐州"},{"id":688,"n":"上饶"},{"id":1687,"n":"临沂"},{"id":600,"n":"常德"},{"id":338,"n":"泉州"},{"id":380,"n":"江门"},{"id":320,"n":"芜湖"},{"id":680,"n":"九江"},{"id":926,"n":"乌鲁木齐"},{"id":980,"n":"湖州"},{"id":433,"n":"贵阳"},{"id":347,"n":"兰州"},{"id":599,"n":"
@w4mxl
w4mxl / main.dart
Created May 24, 2019 08:37
main.dart with AboutListTile
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// A simple example of localizing a Flutter app written with the
// Dart intl package (see https://pub.dartlang.org/packages/intl).
//
// Spanish and English (locale language codes 'en' and 'es') are
// supported.
@w4mxl
w4mxl / README.md
Created August 24, 2016 03:58 — forked from polbins/README.md
Simple RecyclerView Divider

Simple RecyclerView Divider

Simple Horizontal Divider Item Decoration for RecyclerView

    mRecyclerView.addItemDecoration(new SimpleDividerItemDecoration(
            getApplicationContext()
    	));

NOTE: Add item decoration prior to setting the adapter

@w4mxl
w4mxl / AddCookiesInterceptor.java
Created January 22, 2016 15:32 — forked from tsuharesu/AddCookiesInterceptor.java
Handle Cookies easily with Retrofit/OkHttp
/**
* This interceptor put all the Cookies in Preferences in the Request.
* Your implementation on how to get the Preferences MAY VARY.
* <p>
* Created by tsuharesu on 4/1/15.
*/
public class AddCookiesInterceptor implements Interceptor {
@Override
public Response intercept(Chain chain) throws IOException {