Coder Social home page Coder Social logo

joreilly / fantasypremierleague Goto Github PK

View Code? Open in Web Editor NEW
374.0 8.0 39.0 1.64 MB

Fantasy Premier League Kotlin Multiplatform sample using Jetpack Compose, Compose for Desktop and SwiftUI (and Room for local persistence)

License: Apache License 2.0

Kotlin 19.02% Swift 2.08% Makefile 7.84% Jupyter Notebook 71.06%
android ios kotlin-multiplatform kotlin-native swiftui jetpack-compose koin kotlin swift fantasy-premier-league

fantasypremierleague's Introduction

Hi there ๐Ÿ‘‹

I'm a software engineer based in Galway, Ireland ๐Ÿ‡ฎ๐Ÿ‡ช and working for Neat ๐Ÿ‡ณ๐Ÿ‡ด. Google Developer Expert for Kotlin.

Some more background

  • Extensive experience working as a hands-on software engineer on mobile, desktop, server and embedded applicaitons.
  • Developing for Android since 2010 (using Kotlin for last 7 years).
  • Keenly interested in Kotlin Multiplatform and, in particular, when combined with use of Declarative UI frameworks like Compose and SwiftUI! Have given a number of talks and written various articles on the topic over the last 5 years (johnoreilly.dev). Have also created a number of related samples/templates. Two of these, PeopleInSpace and Confetti, are included in the official Kotlin KMP docs and, along with a number of the others, in the Google Dev Library. Several of the samples are also referenced in the docs of the libraries that they showcase.
  • Gets things done!

John's github stats

fantasypremierleague's People

Contributors

hoinzeybear avatar joreilly avatar kanake10 avatar karandhillon avatar nhachicha avatar renovate[bot] avatar rorbech avatar sellmair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fantasypremierleague's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update androidxLifecycle to v2.8.0-alpha04 (androidx.lifecycle:lifecycle-viewmodel, androidx.lifecycle:lifecycle-runtime-compose)
  • Update dependency androidx.activity:activity-compose to v1.9.0-rc01
  • Update dependency androidx.navigation:navigation-compose to v2.8.0-alpha06
  • Update dependency com.google.devtools.ksp to v1.9.23-1.0.20
  • Update dependency org.slf4j:slf4j-simple to v2.0.13
  • Update ktor to v2.3.10 (io.ktor:ktor-serialization-kotlinx-json, io.ktor:ktor-client-java, io.ktor:ktor-client-ios, io.ktor:ktor-client-android, io.ktor:ktor-client-content-negotiation, io.ktor:ktor-client-serialization, io.ktor:ktor-client-logging, io.ktor:ktor-client-json, io.ktor:ktor-client-core)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/android.yml
  • actions/checkout v4
  • actions/setup-java v4
.github/workflows/ios.yml
  • actions/checkout v4
  • actions/setup-java v4
  • macos 14
gradle
gradle.properties
settings.gradle.kts
build.gradle.kts
app/build.gradle.kts
  • androidx.test:core 1.5.0
  • org.robolectric:robolectric 4.11.1
  • androidx.test:runner 1.5.2
common/build.gradle.kts
  • org.nield:kotlin-statistics 1.2.1
  • org.ojalgo:okalgo 0.0.2
  • org.jetbrains.kotlinx:multik-api 0.1.1
  • org.jetbrains.kotlinx:multik-jvm 0.1.1
compose-desktop/build.gradle.kts
gradle/libs.versions.toml
  • org.jetbrains.kotlinx:kotlinx-coroutines-core 1.8.0
  • org.jetbrains.kotlinx:kotlinx-coroutines-test 1.8.0
  • org.jetbrains.kotlinx:kotlinx-datetime 0.5.0
  • org.jetbrains.kotlinx:kotlinx-serialization-core 1.6.3
  • androidx.activity:activity-compose 1.9.0-beta01
  • androidx.compose:compose-bom 2024.02.02
  • androidx.navigation:navigation-compose 2.8.0-alpha05
  • androidx.lifecycle:lifecycle-runtime-compose 2.8.0-alpha03
  • androidx.lifecycle:lifecycle-viewmodel 2.8.0-alpha03
  • io.coil-kt:coil-compose 2.6.0
  • com.google.accompanist:accompanist-placeholder-material3 0.32.0
  • io.github.qdsfdhvh:image-loader 1.7.8
  • io.github.koalaplot:koalaplot-core 0.5.3
  • io.insert-koin:koin-android 3.6.0-alpha3
  • io.insert-koin:koin-androidx-compose 3.6.0-alpha3
  • io.insert-koin:koin-core 3.6.0-alpha3
  • io.insert-koin:koin-compose 1.2.0-alpha3
  • io.insert-koin:koin-test 3.6.0-alpha3
  • io.ktor:ktor-client-core 2.3.9
  • io.ktor:ktor-client-json 2.3.9
  • io.ktor:ktor-client-logging 2.3.9
  • io.ktor:ktor-client-serialization 2.3.9
  • io.ktor:ktor-client-content-negotiation 2.3.9
  • io.ktor:ktor-client-android 2.3.9
  • io.ktor:ktor-client-ios 2.3.9
  • io.ktor:ktor-client-java 2.3.9
  • io.ktor:ktor-serialization-kotlinx-json 2.3.9
  • org.slf4j:slf4j-simple 2.0.12
  • io.realm.kotlin:library-base 1.13.0
  • com.russhwolf:multiplatform-settings 1.1.1
  • com.russhwolf:multiplatform-settings-coroutines 1.1.1
  • co.touchlab:kermit 2.0.3
  • junit:junit 4.13.2
  • com.android.application 8.2.2
  • com.android.library 8.2.2
  • com.google.devtools.ksp 1.9.23-1.0.19
  • org.jetbrains.kotlin.multiplatform 1.9.23
  • org.jetbrains.kotlin.plugin.serialization 1.9.23
  • io.realm.kotlin 1.13.0
  • co.touchlab.skie 0.6.2
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.6

  • Check this box to trigger a request for Renovate to run again on this repository

Crash on iOS when in airplane mode

It seems the iOS is crashing due to an issue with ktor throwing an Exception. Been scratching my head around this one and Android is fine since you can always catch the exception there in platform specific code.

What would be the best approach to handle this? should it be done in shared code or platform specific?

Uncaught Kotlin exception: io.ktor.client.engine.darwin.DarwinHttpRequestException: Exception in http request: Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline."

Looks it was raised before. ktorio/ktor#1165

Not able to build the project in Android Studio with the latest version (4.1.2)

When I tried to build the project in Android Studio, I got this error:
This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.3 or newer.

I tried the solution in the following StackOverflow questions but none of them is working:

  1. https://stackoverflow.com/questions/53331462/this-version-of-android-studio-cannot-open-this-project-please-retry-with-andro
  2. https://stackoverflow.com/questions/62678785/android-support-plugin-for-intellij-idea-or-android-studio-cannot-open-this-pr/65453722

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.