Skip to content

Instantly share code, notes, and snippets.

@ChristophKaser
ChristophKaser / FlexBoxLayout.swift
Last active April 26, 2024 08:08
Horizontal Wrapping Flexbox Layout in SwiftUI
//
// FlexBoxLayout.swift
//
// Created by Christoph Kaser on 05.04.24.
//
import SwiftUI
struct HFlexBoxLayout: Layout {
@ChristophKaser
ChristophKaser / DatabaseMigration.java
Last active July 31, 2020 06:55
Room Database Migration Utility
import android.database.Cursor;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;