(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| def toCamelCase(String string) { | |
| String result = "" | |
| string.findAll("[^\\W]+") { String word -> | |
| result += word.capitalize() | |
| } | |
| return result | |
| } | |
| afterEvaluate { project -> | |
| Configuration runtimeConfiguration = project.configurations.getByName('compile') |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| static jstring getpkg(JNIEnv* env, jobject thiz, jobject activity) { | |
| jclass android_content_Context =env->GetObjectClass(activity); | |
| jmethodID midGetPackageName = env->GetMethodID(android_content_Context,"getPackageName", "()Ljava/lang/String;"); | |
| jstring packageName= (jstring)env->CallObjectMethod(activity, midGetPackageName); | |
| return packageName; | |
| } |
| /* | |
| * Copyright (C) 2006 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| android { | |
| signingConfigs { | |
| release | |
| } | |
| buildTypes { | |
| release { | |
| signingConfig signingConfigs.release | |
| } |
| public class QuickReturn { | |
| private final static int ANIMATION_DURATION_MILLIS = 250; | |
| private final ListView listView; | |
| private final View quickReturnView; | |
| private final View headerPlaceholder; | |
| private int itemCount; | |
| private int itemOffsetY[]; |
| Field[] declaredFields = Intent.class.getDeclaredFields(); | |
| for (Field field : declaredFields) { | |
| if (field.getName().startsWith("FLAG_")) { | |
| try { | |
| int flag = field.getInt(null); | |
| if ((intent.getFlags() & flag) != 0) { | |
| log.d(field.getName()); | |
| } |
| <NotepadPlus> | |
| <UserLang name="Gradle" ext="gradle"> | |
| <Settings> | |
| <Global caseIgnored="yes" /> | |
| <TreatAsSymbol comment="yes" commentLine="yes" /> | |
| <Prefix words1="no" words2="no" words3="no" words4="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Delimiters">"'0"'0</Keywords> | |
| <Keywords name="Folder+"></Keywords> |
| @import "compass/utilities/sprites/base"; | |
| // General Sprite Defaults | |
| // You can override them before you import this file. | |
| $icon-sprite-base-class: ".icon-sprite" !default; | |
| $icon-sprite-dimensions: false !default; | |
| $icon-position: 0% !default; | |
| $icon-spacing: 0 !default; | |
| $icon-repeat: no-repeat !default; |