🏠
Pinned Loading
-
Working with Jetpack Compose and Loc...
Working with Jetpack Compose and Location Service to get the current and last Latitude and Longitude. 1override fun onCreate(savedInstanceState: Bundle?) {
2super.onCreate();
3setContent {
4var latitude: Double? = null
5var longitude: Double? = null
-
Handle event-driven communication us...
Handle event-driven communication using EventBus pattern in Android. 1object Bus {
2private val _events = MutableSharedFlow<Event>(
3replay = 0,
4extraBufferCapacity = 64
5)
-
A psql query to end active database ...
A psql query to end active database sessions. 1SELECT pg_terminate_backend(pg_stat_activity.pid)
2FROM pg_stat_activity
3WHERE datname = 'my_database'
4AND pid <> pg_backend_pid();
-
A custom implementation to protect i...
A custom implementation to protect important string values using the Android Keystore system. 1// ------------------------------------------------------------------------------
2// Note: This script could help you encrypt and decrypt sensitive values such as
3// passwords or important keys that are stored in SQLite or runtime.
4// ------------------------------------------------------------------------------
5// reference: https://developer.android.com/guide/topics/security/cryptography
-
login-impl
login-impl PublicThis is an implementation of jetpack compose for a Simple Login scenario.
Kotlin
-
A custom implementation for https://...
A custom implementation for https://spatie.be/docs/laravel-activitylog/v4/ 1<?php
23namespace App\Repositories;
45interface LogActivityInterface
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.