Skip to content

Instantly share code, notes, and snippets.

Kenny kaiyan910

  • QBS
  • Hong Kong
Block or report user

Report or block kaiyan910

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View processor.java
package com.qbssystem.libs.router_processor;
import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableSet;
import com.qbssystem.libs.router_annotation.Router;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeSpec;
View queryData.kt
override fun queryClassifyShopsByPrefix(shopCategory: ShopCategory,
filterParams: FilterParams): Observable<List<ShopClassifyByPrefix>> {
return checkIsInit().flatMap { init ->
Observable
// 先把所有東西拿出來
.fromCallable {
// TODO: 要加一個 Dao 方法: "用 shopCategory 拿所有 ShopEntity"
mShopDao.queryAllShop()
View BlockEditText.java
package com.hkstp.parksapp.module.registration.ui.view;
import com.app.infideap.stylishwidget.util.Utils;
import com.app.infideap.stylishwidget.view.AEditText;
import com.app.infideap.stylishwidget.view.ATextView;
import com.hkstp.parksapp.R;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
@kaiyan910
kaiyan910 / CMakeLists.txt
Created Jan 18, 2018
Protecting your Secret by using NDK
View CMakeLists.txt
cmake_minimum_required(VERSION 3.4.1)
add_library(secret_lib SHARED
secret_lib.c)
target_link_libraries(secret_lib
android
log)
You can’t perform that action at this time.