Skip to content

Instantly share code, notes, and snippets.

Privacy Policy

Scott Schmitz built the Wish List app as a Commercial app. This SERVICE is provided by Scott Schmitz and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Wish List unless otherwise defined in this Privacy Policy.

@scottschmitz
scottschmitz / SafeResult.kt
Created February 25, 2020 20:04
Safety Wrapper for Single.zip
sealed class SafeResult<T> {
class Success<T>(val result: T) : SafeResult<T>()
class Failure<T>(val error: Throwable) : SafeResult<T>()
}
@scottschmitz
scottschmitz / .zshrc
Last active August 25, 2023 15:47
oh-my-zsh theme
# Path to your oh-my-zsh installation.
export ZSH=/Users/sschmitz/.oh-my-zsh
bindkey -e
bindkey '\e\e[C' forward-word
bindkey '\e\e[D' backward-word
ZSH_THEME="m"
plugins=(git)
source $ZSH/oh-my-zsh.sh
@scottschmitz
scottschmitz / BrandItem.kt
Last active March 8, 2018 14:19
Expandable List Fragment
import android.view.View
import com.xwray.groupie.ExpandableGroup
import com.xwray.groupie.ExpandableItem
import com.xwray.groupie.Item
import com.xwray.groupie.ViewHolder
import kotlinx.android.extensions.LayoutContainer
import kotlinx.android.synthetic.main.list_item_brand.*
class BrandItem(private val brand: String): Item<BrandItem.BrandViewHolder>(), ExpandableItem {