Skip to content
View adammagana's full-sized avatar
🏖️
Working on Marco Polo :)
🏖️
Working on Marco Polo :)

Highlights

  • Pro

Block or report adammagana

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
adammagana/README.md

Hi There 👋

  • 🔭 I’m currently working at Marco Polo
  • 😄 Pronouns: he/him
  • 🫱🏻‍🫲 Connect with me on LinkedIn
  • 🦋 Follow me on Bluesky
  • 👤 Learn more about me on my website

Pinned Loading

  1. A means to preserve logging on Andro... A means to preserve logging on Android without breaking simple unit tests.
    1
    import android.util.Log
    2
    import kotlin.reflect.KClass
    3
    
                  
    4
    /**
    5
     * An interface meant to trivialize the mocking of Android's [Log] methods.
  2. An Android "Resource Provider" patte... An Android "Resource Provider" pattern that I often use. Peep the Javadoc comments for details.
    1
    import android.content.Context
    2
    import android.graphics.drawable.Drawable
    3
    import androidx.annotation.ColorInt
    4
    import androidx.annotation.ColorRes
    5
    import androidx.annotation.DrawableRes
  3. An Android SkuDetails property exten... An Android SkuDetails property extension that calculates price-per-month.
    1
    import com.android.billingclient.api.SkuDetails
    2
    import java.lang.Exception
    3
    import java.text.NumberFormat
    4
    import java.util.*
    5
    
                  
  4. A convenient Swift protocol and wrap... A convenient Swift protocol and wrapper for OSLog.
    1
    import os
    2
    
                  
    3
    private let subsystem = "<ENTER-YOUR-SUBSYSTEM-STRING-HERE>"
    4
    
                  
    5
    // MARK: - Protocol
  5. Helper method for updating constrain... Helper method for updating constraints on a ConstraintLayout with Transitions.
    1
    import androidx.constraintlayout.widget.ConstraintLayout
    2
    import androidx.constraintlayout.widget.ConstraintSet
    3
    import androidx.transition.Transition
    4
    import androidx.transition.TransitionManager
    5
    
                  
  6. An Android SharedPreferences functio... An Android SharedPreferences function extension that simplifies the edit-and-apply flow
    1
    import android.content.SharedPreferences
    2
    
                  
    3
    /**
    4
     * Simple extension to remove the need to call `SharedPreferences.edit()` and `SharedPreference.Editor.apply()` for
    5
     * every preferences change.