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
    
  
  
    
  | sealed class UploadFileType | |
| data class UploadFileForm( | |
| val key: String, | |
| val value: String, | |
| val filename: String = "file.jpg", | |
| val contentType: String = "image/jpeg" | |
| ) : UploadFileType() | |
| data class UploadForm( | 
  
    
      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
    
  
  
    
  | buildscript { | |
| repositories { | |
| google() | |
| jcenter() | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:3.4.0' | |
| // NOTE: Do not place your application dependencies here; they belong | |
| // in the individual module build.gradle files | |
| } | 
  
    
      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
    
  
  
    
  | package org.netvirta.javaApp; | |
| public class JavaDog { | |
| private String name = "John"; | |
| public String getName() { | |
| return name; | |
| } | |
| public void setName(String name) { | 
  
    
      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
    
  
  
    
  | package com.netvirta.common.login | |
| data class User(val username: String, val password: Int) | 
  
    
      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 UIKit | |
| import app | |
| class ViewController: UIViewController, LoginView { | |
| var presenter: LoginPresenter? = nil | |
| @IBOutlet weak var textView: UILabel! | |
| @IBOutlet weak var editText: UITextField! | |
| @IBAction func clickSubmitButton(_ sender: Any) { | 
  
    
      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
    
  
  
    
  | plugins { | |
| id 'kotlin-multiplatform' version '1.3.21' | |
| } | |
| repositories { | |
| google() | |
| jcenter() | |
| mavenCentral() | |
| } | |
| apply plugin: 'com.android.application' | |
| apply plugin: 'kotlin-android-extensions' | 
  
    
      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
    
  
  
    
  | <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context="com.netvirta.android.login.LoginActivity"> | |
| <EditText | |
| android:layout_width="wrap_content" | 
  
    
      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
    
  
  
    
  | <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.netvirta.android"> | |
| <application | |
| android:allowBackup="true" | |
| android:label="@string/app_name" | |
| android:supportsRtl="true" | |
| android:theme="@style/AppTheme"> | |
| <activity android:name="com.netvirta.android.login.LoginActivity"> | |
| <intent-filter> | 
  
    
      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
    
  
  
    
  | package com.netvirta.android.login | |
| import android.os.Bundle | |
| import android.support.v7.app.AppCompatActivity | |
| import com.netvirta.android.R | |
| import com.netvirta.common.login.LoginPresenter | |
| import com.netvirta.common.login.LoginPresenterImpl | |
| import com.netvirta.common.login.LoginView | |
| import kotlinx.android.synthetic.main.activity_login.* | 
  
    
      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
    
  
  
    
  | task replaceTest { | |
| doLast { | |
| replaceText("$projectDir/tools/app_history_a", "history.txt", "OK Google", "OK Dara") | |
| } | |
| } | |
| void replaceText(String folderPath, String match, String oldText, String newText) { | |
| fileTree(folderPath).matching { | |
| include match | |
| }.each { |