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.example.homework | |
| import android.os.Bundle | |
| import android.widget.Toast | |
| import androidx.activity.ComponentActivity | |
| import androidx.activity.compose.setContent | |
| import androidx.activity.enableEdgeToEdge | |
| import androidx.compose.foundation.layout.Arrangement | |
| import androidx.compose.foundation.layout.Column | |
| import androidx.compose.foundation.layout.Row |
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.example.ch1.homework | |
| import kotlinx.coroutines.flow.Flow | |
| import kotlinx.coroutines.flow.asFlow | |
| import kotlinx.coroutines.flow.filter | |
| import kotlinx.coroutines.flow.map | |
| import kotlinx.coroutines.flow.transform | |
| import kotlinx.coroutines.runBlocking | |
| data class Order( |
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.example.ch5 | |
| import android.content.ComponentName | |
| import android.content.Intent | |
| import android.content.ServiceConnection | |
| import android.os.Bundle | |
| import android.os.IBinder | |
| import androidx.activity.enableEdgeToEdge | |
| import androidx.appcompat.app.AppCompatActivity | |
| import androidx.core.view.ViewCompat |
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.example.ch1.homework | |
| import kotlinx.coroutines.CancellationException | |
| import kotlinx.coroutines.async | |
| import kotlinx.coroutines.delay | |
| import kotlinx.coroutines.runBlocking | |
| fun main() = runBlocking { | |
| println("Order received") |
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.example.homework | |
| import android.os.Bundle | |
| import android.util.Log | |
| import androidx.activity.enableEdgeToEdge | |
| import androidx.appcompat.app.AppCompatActivity | |
| import androidx.core.view.ViewCompat | |
| import androidx.core.view.WindowInsetsCompat | |
| import androidx.recyclerview.widget.GridLayoutManager | |
| import com.example.homework.databinding.ActivityCatGalleryBinding |
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"> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
| <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
| <uses-permission android:name="android.permission.INTERNET"/> | |
| <uses-feature | |
| android:name="android.hardware.telephony" |
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"> | |
| <uses-feature | |
| android:name="android.hardware.telephony" | |
| android:required="false"/> | |
| <uses-permission android:name="android.permission.RECEIVE_SMS"/> | |
| <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
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.example.homework | |
| import android.os.Bundle | |
| import android.os.CountDownTimer | |
| import androidx.activity.enableEdgeToEdge | |
| import androidx.appcompat.app.AppCompatActivity | |
| import androidx.core.view.ViewCompat | |
| import androidx.core.view.WindowInsetsCompat | |
| import com.example.homework.databinding.ActivityTimerHomeworkBinding |
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.example.homework | |
| import android.os.Bundle | |
| import android.widget.Toast | |
| import androidx.activity.enableEdgeToEdge | |
| import androidx.appcompat.app.AppCompatActivity | |
| import androidx.core.view.ViewCompat | |
| import androidx.core.view.WindowInsetsCompat | |
| import com.example.homework.databinding.ActivityLoginHomeworkBinding |
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.example.homework | |
| import android.os.Bundle | |
| import androidx.activity.enableEdgeToEdge | |
| import androidx.appcompat.app.AppCompatActivity | |
| import androidx.core.view.ViewCompat | |
| import androidx.core.view.WindowInsetsCompat | |
| import androidx.recyclerview.widget.LinearLayoutManager | |
| import com.example.homework.databinding.ActivityHomework12Binding |
NewerOlder