profile
viewpoint

darwinyip/Cave-Story 1

Reconstructing Cave Story

darwinyip/HTTPServer 1

HTTP Server written in C++

darwinyip/TextSearchEngine 1

TextSearchEngine is a text search engine.

darwinyip/airflow 0

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

issue openedgoogle-developer-training/android-basics-kotlin-mars-photos-app

Android Basics: Load and display images from the Internet


name: Android Basics Unit 4 issue about: Report problems with the Android Basics Unit 4 codelabs title: 'Android Basics Unit 4 issue:' labels: '' assignees: ''


URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-training-internet-images?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-internet-images#2

In which task and step of the codelab can this issue be found? Add loading and error images

Describe the problem No "res/drawable/ic_broken_image.xml" and "res/drawable/loading_animation.xml" included in the project.

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.

created time in 12 days

issue openedgoogle-developer-training/android-basics-kotlin-unscramble-app

Android Basics: ViewModel

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-training-viewmodel?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-viewmodel#3

In which task and step of the codelab can this issue be found? Attach the ViewModel to the Fragment

Describe the problem Code:

package com.example.android.unscramble.ui.game

import androidx.lifecycle.ViewModel
import androidx.fragment.app.viewModels

class GameViewModel : ViewModel() {
    private val viewModel: GameViewModel by viewModels()
}

Compile Error:

GameViewModel.kt: (7, 45): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public inline fun <reified VM : ViewModel> Fragment.viewModels(noinline ownerProducer: () -> ViewModelStoreOwner = ..., noinline factoryProducer: (() -> ViewModelProvider.Factory)? = ...): Lazy<TypeVariable(VM)> defined in androidx.fragment.app

Versions Android Studio version: Android Studio Arctic Fox | 2020.3.1 Patch 3 API version of the emulator: 30

Additional information Using the default dependencies from the project:

dependencies {

    implementation 'androidx.core:core-ktx:1.6.0'
    implementation 'androidx.appcompat:appcompat:1.3.1'
    implementation 'com.google.android.material:material:1.4.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
    // LiveData
    implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
    // ViewModel
    implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
    implementation 'androidx.fragment:fragment-ktx:1.3.6'
}

created time in a month

issue openedgoogle-developer-training/android-basics-kotlin-words-app

Android Basics: Fragments Navigation component

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-training-fragments-navigation-component?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-fragments-navigation-component#8

In which task and step of the codelab can this issue be found? Last step when running.

Describe the problem Navigating to WordListFragment gives a black screen and fails to go up.

Steps to reproduce?

  1. Open app
  2. Click on any letter
  3. See black screen

Versions Android Studio version: Android Studio Arctic Fox | 2020.3.1 Patch 3

API version of the emulator: API 30

Additional information Include screenshots if they would be useful in clarifying the problem. Screenshot from 2021-10-27 23-54-22

created time in a month

issue commentapache/airflow

Allow for setting dependencies in nested lists of tasks

@eladkal The intention is not the same. What if I wanted something like:

t1 >> [[t2 >> t3 >> t4], [t5 >> t6], [t7]] >> t8

How would this translate to chain()?

darwinyip

comment created time in 2 months

more