Skip to content

Instantly share code, notes, and snippets.

View abunur's full-sized avatar
✏️
🎹📲👨🏾‍💻⚔️

Fuad Kamal abunur

✏️
🎹📲👨🏾‍💻⚔️
View GitHub Profile
@alexforrester
alexforrester / Moshi Kotlin Reflection Example with Custom Adapter
Created April 30, 2019 19:14
Moshi Kotlin Reflection Example with Custom Adapter
//app build.gradle
dependencies {
{
//Moshi Core
implementation "com.squareup.moshi:moshi:1.8.0"
//Moshi Reflection
implementation "com.squareup.moshi:moshi-kotlin:1.8.0"
}
@alexforrester
alexforrester / Moshi Kotlin Codegen Example with Custom Adapter
Last active August 28, 2022 19:39
Moshi Kotlin Codegen Example with Custom Adapter
//app build.gradle
apply plugin: 'kotlin-kapt'
...
dependencies {
{
//Moshi Core
implementation "com.squareup.moshi:moshi:1.8.0"
//Moshi Codegen
@vgonda
vgonda / light.css
Created December 28, 2018 21:00
Kotlin playground light theme
.playground .code-area {
background-color: #FAFAFA;
}
.executable-fragment .darcula {
background-color: #FAFAFA;
}
.cm-s-darcula.CodeMirror {
background: #FAFAFA;
@mchirico
mchirico / twotableviewsInOneView.swift
Last active June 5, 2023 08:47
Creating multiple tableViews in one ViewController...this just starts out as a view controller
//
// ViewController.swift
// Delete
//
// Created by Mike Chirico on 10/21/15.
// Copyright © 2015 Mike Chirico. All rights reserved.
//
import UIKit