mirror of
https://github.com/Nezumi-2711/PRM392.git
synced 2026-09-22 13:48:29 +00:00
Check Internet status and delete Cart item
This commit is contained in:
@@ -33,7 +33,7 @@ public class Common {
|
||||
return RetrofitClient.getClient(baseUrl).create(IGeoCoordinates.class);
|
||||
}
|
||||
|
||||
public static Bitmap scaleBitmap(Bitmap bitmap, int newWidth, int newHeight) {
|
||||
public static Bitmap scaleBitmap(Bitmap bitmap, int newWidth, int newHeight) {
|
||||
Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight, Bitmap.Config.ARGB_8888);
|
||||
|
||||
float scaleX = newWidth / (float)bitmap.getWidth();
|
||||
|
||||
Reference in New Issue
Block a user