Skip to content

Commit

Permalink
1. Added UiUtils.
Browse files Browse the repository at this point in the history
2. Modified comments.
  • Loading branch information
amitjangid80 committed May 10, 2018
1 parent 5cd5d2d commit 450ef49
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion app/src/main/java/com/amit/datetime/DateTimeUnits.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package com.amit.datetime;

import java.util.Date;

/**
* DateTimeUnits
* Define units used by {@link DateTimeUtils#getDateDiff(Date, Date, DateTimeUnits)}
* and also {@link DateTimeUtils#formatDate(long, DateTimeUnits)}
* and also {@link DateTimeUtils#formatTimeStampToDate(long, DateTimeUnits)}
*
**/
@SuppressWarnings("WeakerAccess")
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/amit/db/DBHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public DBHelper(Context context)
*
* parameter #2:
* @param values - This parameter is an object of LinkedHashMap
* - this parameter will contain set of Key & Value
* - this parameter will contain set of Key and Value
* to create table or insert data or update we will have to pass this parameter with data
* - FOR EXAMPLE: - values.put("Name", "'Amit'") - this for inserting data & updating data
* - FOR EXAMPLE: - values.put("Name", "'Amit'") - this for inserting data and updating data
* - values.put("Name", "TEXT") - this for creating table
*
* parameter #3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.amit.utilities;
package com.amit.ui;

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

0 comments on commit 450ef49

Please sign in to comment.