Skip to content

Instantly share code, notes, and snippets.

View PabloXyu's full-sized avatar
💭
Looking for a job as Android Developer

Paweł Zygmunciak PabloXyu

💭
Looking for a job as Android Developer
View GitHub Profile
@LouisCAD
LouisCAD / FusedLocationFlow.kt
Last active May 23, 2024 12:11
Create a Flow of location updates on Android (using kotlinx.coroutines), backed by Fused Location Provider from Google Play Services.
/*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
import android.location.Location
import com.google.android.gms.location.LocationCallback
import com.google.android.gms.location.LocationRequest
import com.google.android.gms.location.LocationResult
import com.google.android.gms.location.LocationServices
import kotlinx.coroutines.CancellationException
@dotiful
dotiful / README.md
Last active September 14, 2023 12:32
Nested collapsible Markdown list

Collapsible markdown with <details>

<details>
 <summary>Details</summary>
 hidden, collapsable content...
</details>

Demo: