Skip to content

sudoxE7/MLBBPlayerInfoFetcher

Repository files navigation

MLBBPlayerInfoFetcher

MLBB Player Info Fetcher 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:MLBBPlayerInfoFetcher:master-SNAPSHOT'
}

Default Usage

Add in your Activity file.

int playerId = 1224417029;
int serverId = 11439;

new MLBBPlayerInfoFetcher(this, playerId, serverId)
        .fetchPlayerInfo(new MLBBPlayerInfoFetcherListener() {
            @Override
            public void onPlayerInfoFetched(String imageUrl, String playerName) {
                ((TextView) findViewById(R.id.textview1)).setText(playerName);
            }
        });

// Credit to Exodus

About

MLBB Player Info Fetcher Library for Android

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages