This file contains 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
// startActivityForResult | |
class MainActivity : AppCompatActivity() { | |
companion object { | |
private const val TAG = "MainActivity" | |
const val REQUEST_CODE_PICK_IMAGE = 1000 | |
const val REQUEST_CODE_PICK_IMAGES = 1010 | |
} | |
lateinit var viewBinding: ActivityMainBinding |
This file contains 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.os.Environment; | |
import android.os.Handler; | |
import android.os.HandlerThread; | |
import android.text.TextUtils; | |
import androidx.annotation.NonNull; | |
import androidx.annotation.Nullable; | |
import com.orhanobut.logger.DiskLogStrategy; |