Skip to content

Instantly share code, notes, and snippets.

View TomMunyiri's full-sized avatar
🏠
Working from home

Tom Munyiri TomMunyiri

🏠
Working from home
View GitHub Profile
@TomMunyiri
TomMunyiri / CustomKeyboard.kt
Last active February 12, 2025 16:20
Custom keyboard starting point. We can customize this to fit our needs
class CustomKeyboardFragment : Fragment(){
private lateinit var binding: FragmentCustomKeyboardBinding
/**the pin inputs*/
private var one1: String? = null
private var two2: String? = null
private var three3: String? = null
private var four4: String? = null
private var mConfirmPin: String? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
@TomMunyiri
TomMunyiri / gist:c27030f5cf433694c453455211936fdc
Created November 30, 2019 13:03 — forked from dodyg/gist:5823184
Kotlin Programming Language Cheat Sheet Part 1

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.