This repository was archived by the owner on Aug 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/com/hossainkhan/android/demo/data Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ android {
1010 applicationId " com.hossainkhan.android.constraintlayout"
1111 minSdkVersion rootProject. ext. androidMinSdkVersion
1212 targetSdkVersion rootProject. ext. androidTargetSdkVersion
13- versionCode 200
14- versionName " 2.0 -constraint-layout-demo"
13+ versionCode 210
14+ versionName " 2.1 -constraint-layout-demo"
1515 versionNameSuffix " -${ gitSha()} "
1616
1717 buildConfigField " String" , " GIT_SHA" , " \" ${ gitSha()} \" "
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import java.util.Date
2222
2323
2424/* *
25- * External resource info.
25+ * External resource info like Youtube video or technical articles online .
2626 *
2727 * Example:
2828 * - author: Nicolas Roard & John Hoford
@@ -52,7 +52,8 @@ data class ResourceInfo(
5252 return FirestoreDateFormatter .date(date)
5353 }
5454
55- val isYouTubeUrl: Boolean = url.contains(" youtube.com/watch?v=" , ignoreCase = true )
55+ val isYouTubeUrl: Boolean
56+ get() = url.contains(" youtube.com/watch?v=" , ignoreCase = true )
5657
5758 /* *
5859 * Provides [Uri] for directly invoking youtube app via Android Intent.
You can’t perform that action at this time.
0 commit comments