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 {
10
10
applicationId " com.hossainkhan.android.constraintlayout"
11
11
minSdkVersion rootProject. ext. androidMinSdkVersion
12
12
targetSdkVersion rootProject. ext. androidTargetSdkVersion
13
- versionCode 200
14
- versionName " 2.0 -constraint-layout-demo"
13
+ versionCode 210
14
+ versionName " 2.1 -constraint-layout-demo"
15
15
versionNameSuffix " -${ gitSha()} "
16
16
17
17
buildConfigField " String" , " GIT_SHA" , " \" ${ gitSha()} \" "
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import java.util.Date
22
22
23
23
24
24
/* *
25
- * External resource info.
25
+ * External resource info like Youtube video or technical articles online .
26
26
*
27
27
* Example:
28
28
* - author: Nicolas Roard & John Hoford
@@ -52,7 +52,8 @@ data class ResourceInfo(
52
52
return FirestoreDateFormatter .date(date)
53
53
}
54
54
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 )
56
57
57
58
/* *
58
59
* Provides [Uri] for directly invoking youtube app via Android Intent.
You can’t perform that action at this time.
0 commit comments