pbeza / android

Projekt z Androida 2015/2016
0 stars 0 forks source link

podwójne uruchomienie startSocketConnection w OnConnectionInfoAvailable w klasie DeviceDetailFragment #21

Closed matiplo closed 8 years ago

matiplo commented 8 years ago
        EchoService.startEchoService(getActivity(), info.isGroupOwner, info.groupOwnerAddress.getHostAddress());

// linijka powyzej w konsekwencji juz startuje wszystko co wykomentowane ponizej // Activity activity = getActivity(); // EchoConfigApplication echoConfigApplication = (EchoConfigApplication) activity.getApplication(); // EchoService echoService = echoConfigApplication.getEchoService(); // echoService.startSocketConnection(info.isGroupOwner, groupOwnerHostAddress);