Browse Source

aar creating changes

master 1.5
Manoj 2 years ago
parent
commit
a88ab906f2
3 changed files with 2 additions and 23 deletions
  1. +1
    -1
      app/src/main/java/com/nivesh/production/bajajfd/adapter/SectionsPagerAdapter.kt
  2. +0
    -21
      app/src/main/java/com/nivesh/production/bajajfd/util/Utils_Functions.kt
  3. +1
    -1
      gradle.properties

+ 1
- 1
app/src/main/java/com/nivesh/production/bajajfd/adapter/SectionsPagerAdapter.kt View File

@ -15,4 +15,4 @@ class SectionsPagerAdapter(manager: FragmentManager,private val fragments: Array
override fun getPageTitle(position: Int): CharSequence = titles[position]
}
}

+ 0
- 21
app/src/main/java/com/nivesh/production/bajajfd/util/Utils_Functions.kt View File

@ -1,21 +0,0 @@
package com.nivesh.production.bajajfd.util
import android.annotation.SuppressLint
import java.text.SimpleDateFormat
import java.util.*
class Utils_Functions {
companion object{
fun getCurrentDateStamp(): String? {
val d = Date()
@SuppressLint("SimpleDateFormat") val simpleDateFormat =
SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
val dateStr = simpleDateFormat.format(d)
val output = d.time / 1000L
val str = java.lang.Long.toString(output)
return d.time.toString()
}
}
}

+ 1
- 1
gradle.properties View File

@ -21,6 +21,6 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
org.gradle.parallel=true
android.enableD8=true
android.nonTransitiveRClass=true
android.disableAutomaticComponentCreation=true
authToken=jp_95r28qqgll1ie1qf4r64vs6hua

Loading…
Cancel
Save

Powered by TurnKey Linux.