Skip to content

Instantly share code, notes, and snippets.

View tonyawino's full-sized avatar

Tony tonyawino

  • Kenya
View GitHub Profile
@molidev8
molidev8 / workflow.yaml
Created July 29, 2022 08:39
A YAML workflow to run unit test and sign an AAB for Android
name: Build, Test and Compile
on:
push:
branches: [ master ]
jobs:
Unit-Test:
runs-on: ubuntu-latest
# needs: Build
@stevdza-san
stevdza-san / HyperlinkText.kt
Last active September 6, 2024 09:40
Embedd a Hyperlink within a Text using Jetpack Compose.
import androidx.compose.foundation.text.ClickableText
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalUriHandler
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.buildAnnotatedString
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextDecoration
import androidx.compose.ui.unit.TextUnit
@skyfishjy
skyfishjy / CursorRecyclerViewAdapter.java
Last active December 16, 2023 08:55
CursorRecyclerViewAdapter
/*
* Copyright (C) 2014 skyfish.jy@gmail.com
*
* 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