Skip to content

Instantly share code, notes, and snippets.

View IGR2014's full-sized avatar
:octocat:
Working on simple C++20 OS kernel (i386, x86_64) and C++20 game engine

Ihor Baklykov IGR2014

:octocat:
Working on simple C++20 OS kernel (i386, x86_64) and C++20 game engine
View GitHub Profile
@objcode
objcode / Permissions.kt
Last active February 21, 2023 23:01
Quick demo of compose permissions using activity result API. Uses Flow instead of State to make it reusable outside of Compose.
/*
* Copyright 2020 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