Skip to content

sudoxE7/MLBBWinRateCalculator

Repository files navigation

MLBBWinRateCalculator

MLBB Winrate Calculator Library for Android

Screenshots

Gradle

Add below codes to your root build.gradle file (not your module build.gradle file).

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

And add a dependency code to your module's build.gradle file.

dependencies {
        implementation 'com.github.sudoxE7:MLBBWinRateCalculator:master-SNAPSHOT'
}

Default Usage

Add in your Activity file.

int totalMatches = 70;
double winRatePercentage = 70.0;
double targetWinRate = 90.0;

new MLBBWinRateCalculator(totalMatches, winRatePercentage, targetWinRate)
        .calculateWinRate(new MLBBWinRateCalculatorListener() {
            @Override
            public void onWinRateCalculated(String result) {
                ((TextView) findViewById(R.id.textview1)).setText(result);
            }
        });

// Credit to Exodus

About

MLBB Winrate Calculator Library for Android

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages