This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "Title": "Avatar", | |
| "Year": "2009", | |
| "Rated": "PG-13", | |
| "Released": "18 Dec 2009", | |
| "Runtime": "162 min", | |
| "Genre": "Action, Adventure, Fantasy", | |
| "Director": "James Cameron", | |
| "Writer": "James Cameron", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| generate-dependency-graph: | |
| name: Generate Dependency Graph | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Graphviz | |
| uses: ts-graphviz/setup-graphviz@v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Replaces the default RxJava schedulers with a synchronous one. | |
| */ | |
| class RxImmediateSchedulerRule : TestRule { | |
| private val immediateScheduler = object : Scheduler() { | |
| @NonNull | |
| override fun scheduleDirect(run: Runnable, delay: Long, unit: TimeUnit): Disposable { | |
| // Hack to prevent stack overflows in unit tests when scheduling with a delay; | |
| return super.scheduleDirect(run, 0, unit) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| class FloatingButtonController: UIViewController { | |
| private(set) var button: UIButton! | |
| required init?(coder aDecoder: NSCoder) { | |
| fatalError() | |
| } | |