Fix code style
This commit is contained in:
parent
0733811295
commit
f6836b4996
4 changed files with 6 additions and 6 deletions
1
.idea/.gitignore
vendored
1
.idea/.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
|
|
|
@ -34,12 +34,13 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.core:core-ktx:1.6.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
implementation 'com.google.android.material:material:1.4.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||
implementation 'androidx.core:core-ktx:1.6.0'
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||
implementation 'com.google.android.material:material:1.4.0'
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
|
|
|
@ -6,7 +6,7 @@ import android.view.ViewGroup
|
|||
import android.widget.TextView
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
|
||||
class ArticlesListRecyclerViewAdapter(private val onItemClick: () -> Unit):
|
||||
class ArticlesListRecyclerViewAdapter(private val onItemClick: () -> Unit) :
|
||||
RecyclerView.Adapter<ArticlesListRecyclerViewAdapter.ViewHolder>()
|
||||
{
|
||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
|
||||
|
|
|
@ -6,7 +6,7 @@ import android.webkit.WebResourceResponse
|
|||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
|
||||
class CustomWebViewClient(private val context: Context): WebViewClient() {
|
||||
class CustomWebViewClient(private val context: Context) : WebViewClient() {
|
||||
companion object {
|
||||
private const val HOST = "causa-arcana.com"
|
||||
private const val SCHEME = "https"
|
||||
|
|
Reference in a new issue