We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b06f2 commit 4244b9bCopy full SHA for 4244b9b
1 file changed
app/src/main/java/com/demoapp/AppUtils.java
@@ -0,0 +1,12 @@
1
+package com.demoapp;
2
+
3
+/**
4
+ * Created by aslan on 8/17/2017.
5
+ */
6
7
+public class AppUtils {
8
+ static int randomWithRange(int min, int max) {
9
+ int range = (max - min) + 1;
10
+ return (int) (Math.random() * range) + min;
11
+ }
12
+}
0 commit comments