This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
android.enableJetifier=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
dependencyResolutionManagement { | |
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) | |
repositories { | |
google() | |
mavenCentral() | |
maven(url = java.net.URI("https://jcenter.bintray.com")) | |
} | |
} | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
dependencies { | |
... | |
// Android PdfViewer | |
implementation("com.github.barteksc:android-pdf-viewer:3.2.0-beta.1") | |
... | |
} | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.runtime.Composable | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.viewinterop.AndroidView | |
import androidx.hilt.navigation.compose.hiltViewModel | |
import androidx.navigation.NavController | |
import com.github.barteksc.pdfviewer.PDFView | |
import kotlinx.coroutines.CoroutineScope | |
import kotlinx.coroutines.Dispatchers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Centos7 MongoDB Config Commends | |
start mongo : - sudo systemctl start mongod | |
status mongo : - sudo systemctl status mongod | |
stop mongo : - sudo systemctl stop mongod | |
MongoDB’nin başlangıçta otomatik olarak çalışmasını sağlamak için | |
aşağıdaki işlemleri yapmamız yeterli olacaktır. | |
- sudo systemctl is-enabled mongod; echo $? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Model - Data Class | |
data class CustomAlert( | |
var icon: Int, | |
var title: String, | |
var message: String, | |
var btnPositiveText: String, | |
var btnNegative: Boolean? = false, | |
var btnNegativeText: String? = "" | |
) |