Simple Horizontal Divider Item Decoration for RecyclerView
mRecyclerView.addItemDecoration(new SimpleDividerItemDecoration(
getApplicationContext()
));
NOTE: Add item decoration prior to setting the adapter
| #!/usr/bin/env python3 | |
| # This is a proof of concept for controlling a LaserCube | |
| # (https://www.laseros.com) over the network. RUNNING THIS CODE WITH A REAL | |
| # LASERCUBE CAN BE PHYSICALLY DANGEROUS. PLEASE BE CAREFUL, AND, IF IN DOUBT, | |
| # USE THE SAFETY LENS! | |
| # Copyright 2021 Sidney San Martín | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any |
| // The Object | |
| // | |
| // GenerateMe submission to MCCC Sep 2016 | |
| // [email protected] | |
| // http://generateme.tumblr.com/ | |
| // http://folds2d.tumblr.com/ | |
| void setup() { | |
| size(540, 540); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # Install ARCH Linux with encrypted file-system and UEFI | |
| # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
| # Download the archiso image from https://www.archlinux.org/ | |
| # Copy to a usb-drive | |
| dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
| # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
| # Set swedish keymap |