Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

ClassCastException on onAllMarketTickersEvent stream #72

@tompee26

Description

@tompee26

I am getting a class cast exception when using the market ticker event stream.

Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.binance.api.client.domain.event.AllMarketTickersEvent

Is anyone else having this issue? Code below for reference.

mWebSocketClient.onAllMarketTickersEvent(new BinanceApiCallback<List<AllMarketTickersEvent>>() {
    @Override
    public void onResponse(List<AllMarketTickersEvent> events) throws BinanceApiException {
        Log.d(TAG, events.get(0).toString());
    }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions