This method converts dp unit to equivalent pixels, depending on device density. NEEDS UTILS TO BE INITIALIZED BEFORE USAGE.
A value in dp (density independent pixels) unit. Which we need to convert into pixels
A let value to represent px equivalent to dp depending on device density
This method converts dp unit to equivalent pixels, depending on device density. NEEDS UTILS TO BE INITIALIZED BEFORE USAGE.