profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/rayworks/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
rayworks rayworks Shanghai, China A son, a father and a husband. A fun of Unix-like OS. Currently, focus on programming on Mobile platform.

rayworks/apk-checker 2

A python script to check the key information of target APK file

rayworks/algorithms 1

The notes for all the algorithm problems I solved

rayworks/50AH-code 0

50 Android Hacks book source code

rayworks/AdaptiveTableLayout 0

Library that makes it possible to read, edit and write CSV files

rayworks/AlbumPresentationModel 0

Martin Fowler's album browser example app on Android platform

rayworks/android-architecture 0

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

rayworks/android-autofittextview 0

A TextView that automatically resizes text to fit perfectly within its bounds.

startedgoogle/highway

started time in an hour

release oasisfeng/island

v5.4

released time in 5 hours

startedsanyuered/WeChat-MiniProgram-AR-3D

started time in 6 hours

startedsanyuered/WeChat-MiniProgram-AR-TFJS

started time in 6 hours

issue commentandroid/architecture-components-samples

Nav-Framework is nice, however, it create fragment's view every time when people click menu-item on drawer-layout

Still, the issue exists!. I think we have to move older way instead of the navigation component.

@ianhanniballake do you have any sample code for this issue. without a solution how you close this one.

XinyueZ

comment created time in 8 hours

startedMobileNativeFoundation/discussions

started time in 10 hours

startedkirill-grouchnikov/aurora

started time in 17 hours

startedtlambertz/rftrace

started time in 19 hours

fork nisrulz/gradle-mvn-push

Helper to upload Gradle Android Artifacts to Maven repositories

fork in a day

startedKr328/ClashForAndroid

started time in a day

startedAkihiroSuda/lima

started time in a day

push eventandroid/architecture-components-samples

Caren Chang

commit sha c20db8bacdd5d2b23d75571d3b45cf07e6a40dd0

Address comments

view details

Caren Chang

commit sha f1fe88cbf6536f20480b2dd235feb186a0815f1e

Add README

view details

push time in a day

Pull request review commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

+/*+ * Copyright 2021 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+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++package com.example.background.multiprocess++import android.content.Context+import android.util.Log+import androidx.work.WorkerParameters+import androidx.work.multiprocess.RemoteListenableWorker+import com.google.common.util.concurrent.ListenableFuture+import androidx.concurrent.futures.CallbackToFutureAdapter+import kotlinx.coroutines.*++class ExampleRemoteListenableWorker(context: Context, parameters: WorkerParameters) :+    RemoteListenableWorker(context, parameters) {++    private var job: Job? = null++    override fun startRemoteWork(): ListenableFuture<Result> {

Consider using doRemoteWork(), the suspending method i.e. ? Unless the intent was to show a Java sample.

calren

comment created time in a day

startedchriseidhof/TerminalUI

started time in a day

Pull request review commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

+/*+ * Copyright 2021 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+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++plugins {+    id 'com.android.application'+    id 'kotlin-android'+}++android {+    compileSdkVersion 30+    buildToolsVersion "30.0.3"++    defaultConfig {+        applicationId "com.example.background.multiprocess"+        minSdkVersion 23+        targetSdkVersion 30+        versionCode 1+        versionName "1.0"++        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"+    }++    buildTypes {+        release {+            minifyEnabled false+            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'+        }+    }+    compileOptions {+        sourceCompatibility JavaVersion.VERSION_1_8+        targetCompatibility JavaVersion.VERSION_1_8+    }+    kotlinOptions {+        jvmTarget = '1.8'+    }+}++dependencies {++    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"+    implementation 'androidx.core:core-ktx:1.3.2'+    implementation 'androidx.appcompat:appcompat:1.2.0'+    implementation 'com.google.android.material:material:1.3.0'+    implementation 'androidx.concurrent:concurrent-futures-ktx:1.1.0'+    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'+    implementation 'androidx.work:work-runtime-ktx:2.6.0-alpha02'+    implementation 'androidx.work:work-multiprocess:2.6.0-alpha02'+    testImplementation 'androidx.test:core:1.3.0'+    testImplementation 'junit:junit:4.+'

Good call, done.

calren

comment created time in a day

pull request commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

Maybe add a README as well.

calren

comment created time in a day

Pull request review commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

+/*+ * Copyright 2021 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+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++package com.example.background.multiprocess++import android.content.Context+import android.util.Log+import androidx.work.WorkerParameters+import androidx.work.multiprocess.RemoteListenableWorker+import com.google.common.util.concurrent.ListenableFuture+import androidx.concurrent.futures.CallbackToFutureAdapter+import kotlinx.coroutines.*

Nit: No wildcards here either. Studio tends to reset the default for wildcard imports.

calren

comment created time in a day

Pull request review commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

+/*+ * Copyright 2021 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+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++package com.example.background.multiprocess++import android.content.ComponentName+import android.os.Bundle+import android.widget.Button+import androidx.appcompat.app.AppCompatActivity+import androidx.work.Data+import androidx.work.ListenableWorker+import androidx.work.OneTimeWorkRequest+import androidx.work.WorkManager+import androidx.work.multiprocess.RemoteCoroutineWorker+import androidx.work.multiprocess.RemoteListenableWorker+import androidx.work.multiprocess.RemoteListenableWorker.ARGUMENT_CLASS_NAME+import androidx.work.multiprocess.RemoteListenableWorker.ARGUMENT_PACKAGE_NAME+import androidx.work.multiprocess.RemoteWorkerService++class MainActivity : AppCompatActivity() {

Document the important bits to look at here, i.e. highlight buildOneTimeWorkRemoteWorkRequest.

calren

comment created time in a day

Pull request review commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

+/*+ * Copyright 2021 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+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++package com.example.background.multiprocess++import android.content.Context+import android.util.Log+import androidx.work.WorkerParameters+import androidx.work.multiprocess.RemoteListenableWorker+import com.google.common.util.concurrent.ListenableFuture+import androidx.concurrent.futures.CallbackToFutureAdapter+import kotlinx.coroutines.*++class ExampleRemoteListenableWorker(context: Context, parameters: WorkerParameters) :

Document what this worker does.

calren

comment created time in a day

Pull request review commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

+/*+ * Copyright 2021 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+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++plugins {+    id 'com.android.application'+    id 'kotlin-android'+}++android {+    compileSdkVersion 30+    buildToolsVersion "30.0.3"++    defaultConfig {+        applicationId "com.example.background.multiprocess"+        minSdkVersion 23+        targetSdkVersion 30+        versionCode 1+        versionName "1.0"++        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"+    }++    buildTypes {+        release {+            minifyEnabled false+            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'+        }+    }+    compileOptions {+        sourceCompatibility JavaVersion.VERSION_1_8+        targetCompatibility JavaVersion.VERSION_1_8+    }+    kotlinOptions {+        jvmTarget = '1.8'+    }+}++dependencies {++    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"+    implementation 'androidx.core:core-ktx:1.3.2'+    implementation 'androidx.appcompat:appcompat:1.2.0'+    implementation 'com.google.android.material:material:1.3.0'+    implementation 'androidx.concurrent:concurrent-futures-ktx:1.1.0'+    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'+    implementation 'androidx.work:work-runtime-ktx:2.6.0-alpha02'+    implementation 'androidx.work:work-multiprocess:2.6.0-alpha02'+    testImplementation 'androidx.test:core:1.3.0'+    testImplementation 'junit:junit:4.+'

Nit: Please don't use wildcards in dependency declarations.

calren

comment created time in a day

create barnchandroid/architecture-components-samples

branch : wmmulti

created branch time in a day

pull request commentandroid/architecture-components-samples

Add WorkManager multiprocess sample

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

<!-- need_author_consent -->

calren

comment created time in a day

push eventandroid/architecture-components-samples

Dustin Lam

commit sha d419e013931cd8a21b4624048fc330074838c738

Update PagingSample with ViewBinding and ActivityScenario

view details

Ben Weiss

commit sha 5a16999f9b98caa6b844ffe6d3b38150deaad8e6

Replace AndroidViewModel with ViewModel and Factory

view details

Ben Weiss

commit sha 6d2058be94fbfb916db9f9f7b9444bca7e465e0a

cleanup

view details

Ben Weiss

commit sha 8025c5cad23b6eca261d2c935d69adcb0751439d

FilterActivity now uses ConstraintLayout

view details

Ben Weiss

commit sha 4c30588b9d71b108dc0a18eaacb4407ad236d929

One less findViewById

view details

Ben Weiss

commit sha 478a6baa11d8e3893dbc6e124a5c24423f610d59

Add RenameWorkerFactory

view details

Ben Weiss

commit sha 92c447905083197358a75ba50d3104c4393a74f0

Replace isChecked function

view details

Ben Weiss

commit sha b7fffec0a57eaec8d5825f4c74dcb5640eabe980

Refactor FilterActivity

view details

Ben Weiss

commit sha 320208821ec32f17bb77c5d924c3dab0b5f088ab

Clean up UI, removing checkboxes if not necessary

view details

Ben Weiss

commit sha 51347d8dd5963d3bc1714d1a16a8361c824c4234

Push output result mapping down to viewModel

view details

Ben Weiss

commit sha 380785053a51c24be0df3c7b1b6d64b0c46d6a46

Move ImageOperations to lib

view details

Ben Weiss

commit sha 388732ddbc48e40cf35a6d5535e4792b8fde8700

Cleaner continuation creation Introduce local extensino functions for conditional chaining.

view details

Dustin Lam

commit sha d8cd12ea0d5250408169a5ad31c1d36d136fac5d

Fix + simplify PagingSample test

view details

Dustin Lam

commit sha e3a6db0775749df9c9dfc88b97f93619ffc02049

ViewModel + Differ sample test Added an example of mock differ + mock paging source style viewmodel test, which allows testing against separator / transformation logic.

view details

Dustin Lam

commit sha f41848e635bf7adb1cfbadc4a1f625a7d6535362

Fix MainActivityTest to accomodate separators

view details

Dustin Lam

commit sha 8d83bd0263e0753d5c1c01dae9a715eb1b4377ba

Move MainActivityTest to Truth

view details

Dustin Lam

commit sha 0c910b4d335a3167abe95f964809977caddef351

Remove accidentaly println

view details

Dustin Lam

commit sha bd888e6693199b86ce509cfc646e210c07848353

Revert visibility change on CHEESE_DATA

view details

Dustin Lam

commit sha 3cf71a6e59ac801ddfe0c92e0cec4976bec3653a

Code cleanup Renamed CheeseItem to CheeseListITem Fix imports Minor nits

view details

Dustin Lam

commit sha 2d10c2ff0d83c907f77850583c8bfedd7198bb57

Make MainActivityTest less flaky

view details

push time in a day

push eventandroid/architecture-components-samples

Caren Chang

commit sha b17843d130e77b7bf5aee7c51d0caec0d2a9c697

Add implementation for RemoteListenableWorker and RemoteCoroutineWorker

view details

push time in a day

push eventandroid/architecture-components-samples

Caren Chang

commit sha 524d352171e18e38628289cdae6dd473a59195fa

More cleanup

view details

push time in a day

startedVertamedia/clickhouse-grafana

started time in 2 days

release ZacSweers/MoshiX

0.11.0

released time in 2 days

push eventandroid/architecture-components-samples

Caren Chang

commit sha 4d7220b7941ee4a938b139fc8ebdcf213cb35cac

Fix tests

view details

push time in 2 days