- Open VSCode in the primary project folder
- Install C# for VSCode if not already done
- This contains the .NET Core Debug templates
- This might be overkill for now, but it work
- Configure debugger as
.NET Core
- This should create a
launch.json
under.vscode
in the current workspace root folder
- This should create a
- Try running a debug session
- This will result in the error
Could not find the preLaunchTask 'build'.
PressConfigure Task Runner
- Don't worry if you miss click and dismiss the promt, it will show the same error again.
Configure Task Runner
will ask for a Task Runner again pick.NET Core
- This will result in the error
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
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
android { | |
// the ext.versions in the dependencies.gradle is accessable | |
compileSdkVersion versions.compileSdk | |
buildToolsVersion versions.buildTools | |
defaultConfig { | |
applicationId "tilbrook.com.au.appName" |
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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
apply from: 'dependencies.gradle' | |
buildscript { | |
// Gradle will not find vars defined in an external file when referring to them | |
// in the buildscript block, unless you link it from the buildscript block, too. | |
apply from: 'dependencies.gradle' | |
repositories { | |
google() | |
jcenter() |
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
ext.versions = [ | |
code : 1, | |
name : '1.0', | |
minSdk : 16, | |
targetSdk : 26, | |
compileSdk : 26, | |
buildTools : '26.0.1', |
footer: @sir_tilbrook https://www.youtube.com/c/anzcoders slidenumber: true
- 340 members and growing
- https://www.youtube.com/user/fsharpsydney
- https://twitter.com/fsharpsydney
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
public static final class Builder { | |
private final String firstName; | |
private final String lastName; | |
private final String middleName; | |
public static Builder builder() { | |
return new Builder("", "", ""); | |
} | |
private Builder(String firstName, String middleName, String lastName) { |
Here are some notes from the group decision that evolved during my talk.
https://github.com/mattleibow/square-bindings
https://github.com/molinch/FFImageLoading
The Support Libraries are all Xamarin support and downloadable from NuGet. Documentation is here.
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
// Kotlin conversion from https://gist.github.com/extralam/cda4ce0d7341b929efd4 | |
// This could be better. For now this works | |
inline fun OkHttpClient.init(f: OkHttpClient.() -> Unit): OkHttpClient { | |
this.f() | |
return this | |
} | |
class PabloPicasso { | |
val picasso: Picasso |