Skip to content

Commit 450ef49

Browse files
committed
1. Added UiUtils.
2. Modified comments.
1 parent 5cd5d2d commit 450ef49

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

app/src/main/java/com/amit/datetime/DateTimeUnits.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
package com.amit.datetime;
22

3+
import java.util.Date;
4+
35
/**
46
* DateTimeUnits
57
* Define units used by {@link DateTimeUtils#getDateDiff(Date, Date, DateTimeUnits)}
6-
* and also {@link DateTimeUtils#formatDate(long, DateTimeUnits)}
8+
* and also {@link DateTimeUtils#formatTimeStampToDate(long, DateTimeUnits)}
79
*
810
**/
911
@SuppressWarnings("WeakerAccess")

app/src/main/java/com/amit/db/DBHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ public DBHelper(Context context)
5656
*
5757
* parameter #2:
5858
* @param values - This parameter is an object of LinkedHashMap
59-
* - this parameter will contain set of Key & Value
59+
* - this parameter will contain set of Key and Value
6060
* to create table or insert data or update we will have to pass this parameter with data
61-
* - FOR EXAMPLE: - values.put("Name", "'Amit'") - this for inserting data & updating data
61+
* - FOR EXAMPLE: - values.put("Name", "'Amit'") - this for inserting data and updating data
6262
* - values.put("Name", "TEXT") - this for creating table
6363
*
6464
* parameter #3

app/src/main/java/com/amit/utilities/UiUtils.java renamed to app/src/main/java/com/amit/ui/UiUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.amit.utilities;
1+
package com.amit.ui;
22

33
import android.support.design.widget.TextInputEditText;
44
import android.text.Editable;
@@ -98,7 +98,6 @@ public void afterTextChanged(Editable s)
9898
/**
9999
* set char counter
100100
* Shows live character counter for the number of characters
101-
* typed in the parameter {@link TextInputEditText}
102101
*
103102
* @param textInputEditText Characters to count from
104103
* @param tvCounterView {@link android.widget.TextView} to show live character count in

0 commit comments

Comments
 (0)