Skip to content

Commit b580b34

Browse files
committed
public Callbacks
-updated gradle -made callbacks public
1 parent 772f4ad commit b580b34

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77

88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.4.1'
10+
classpath 'com.android.tools.build:gradle:3.4.2'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files

localWeather/src/main/java/de/interaapps/localweather/LocalWeather.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,13 @@ public ForecastWeather getForecastWeather() {
230230
return new ForecastWeather(threeHourForecast);
231231
}
232232

233-
interface Callbacks {
234-
void onLocationFailure(LocationFailedEnum locationFailedEnum);
233+
public interface Callbacks {
234+
public void onLocationFailure(LocationFailedEnum locationFailedEnum);
235235

236-
void onWeatherFailure(Throwable throwable);
236+
public void onWeatherFailure(Throwable throwable);
237237

238-
void onLocationSuccess();
238+
public void onLocationSuccess();
239239

240-
void onWeatherSuccess();
240+
public void onWeatherSuccess();
241241
}
242242
}

0 commit comments

Comments
 (0)