-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace BaseItemType usages with BaseItemKind (SDK) #2032
Replace BaseItemType usages with BaseItemKind (SDK) #2032
Conversation
@@ -389,9 +389,9 @@ | |||
return ""; | |||
} | |||
|
|||
public BaseItemType getBaseItemType() { | |||
public BaseItemKind getBaseItemType() { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -83,17 +82,17 @@ | |||
return KoinJavaComponent.<ImageHelper>get(ImageHelper.class).getImageUrl(itemId, ModelCompat.asSdk(imageType), imageTag); | |||
} | |||
|
|||
public static String getBannerImageUrl(Context context, BaseItemDto item, ApiClient apiClient, int maxHeight) { | |||
public static String getBannerImageUrl(BaseItemDto item, ApiClient apiClient, int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -83,17 +82,17 @@ | |||
return KoinJavaComponent.<ImageHelper>get(ImageHelper.class).getImageUrl(itemId, ModelCompat.asSdk(imageType), imageTag); | |||
} | |||
|
|||
public static String getBannerImageUrl(Context context, BaseItemDto item, ApiClient apiClient, int maxHeight) { | |||
public static String getBannerImageUrl(BaseItemDto item, ApiClient apiClient, int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -83,17 +82,17 @@ | |||
return KoinJavaComponent.<ImageHelper>get(ImageHelper.class).getImageUrl(itemId, ModelCompat.asSdk(imageType), imageTag); | |||
} | |||
|
|||
public static String getBannerImageUrl(Context context, BaseItemDto item, ApiClient apiClient, int maxHeight) { | |||
public static String getBannerImageUrl(BaseItemDto item, ApiClient apiClient, int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -106,9 +105,9 @@ | |||
return apiClient.GetImageUrl(item.getId(), options); | |||
} | |||
|
|||
public static String getThumbImageUrl(Context context, BaseItemDto item, ApiClient apiClient, int maxHeight) { | |||
public static String getThumbImageUrl(BaseItemDto item, ApiClient apiClient, int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -106,9 +105,9 @@ | |||
return apiClient.GetImageUrl(item.getId(), options); | |||
} | |||
|
|||
public static String getThumbImageUrl(Context context, BaseItemDto item, ApiClient apiClient, int maxHeight) { | |||
public static String getThumbImageUrl(BaseItemDto item, ApiClient apiClient, int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -106,9 +105,9 @@ | |||
return apiClient.GetImageUrl(item.getId(), options); | |||
} | |||
|
|||
public static String getThumbImageUrl(Context context, BaseItemDto item, ApiClient apiClient, int maxHeight) { | |||
public static String getThumbImageUrl(BaseItemDto item, ApiClient apiClient, int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
return getResourceUrl(context, R.drawable.tile_land_series_timer); | ||
} | ||
|
||
public static String getPrimaryImageUrl(@NonNull BaseItemDto item, @NonNull boolean preferParentThumb, @NonNull int maxHeight) { |
Check notice
Code scanning / Android Lint
Unknown nullness
96aaae8
to
4c525cd
Compare
Changes
Issues