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
package com.udacity.project4.locationreminders.savereminder.selectreminderlocation | |
//import com.udacity.project4.utils.setDisplayHomeAsUpEnabled | |
//import com.udacity.project4.utils.wrapEspressoIdlingResource | |
import android.Manifest | |
import android.annotation.SuppressLint | |
import android.content.Intent | |
import android.content.IntentSender |
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
package com.example.android.architecture.blueprints.todoapp.tasks | |
import androidx.arch.core.executor.testing.InstantTaskExecutorRule | |
import androidx.test.core.app.ApplicationProvider | |
import androidx.test.ext.junit.runners.AndroidJUnit4 | |
import com.example.android.architecture.blueprints.todoapp.data.Task | |
import com.example.android.architecture.blueprints.todoapp.data.source.FakeTestRepository | |
import kotlinx.coroutines.runBlocking | |
import org.hamcrest.CoreMatchers.* | |
import org.hamcrest.MatcherAssert.assertThat |
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
class MathPower { | |
public static void main(String[] args) { | |
//this is labelled as final to make it constant. This value does not change. | |
final int base = 2; | |
/*this is power variable which will increment in the loop | |
we need to increment it until we reach 20. | |
*/ |
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "com.example.macintosh.thebakingappproject" | |
minSdkVersion 25 | |
targetSdkVersion 28 | |
versionCode 1 | |
versionName "1.0" |
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
package com.example.macintosh.thebakingappproject; | |
import com.example.macintosh.thebakingappproject.IdlingResource.EspressoIdlingResource; | |
import com.example.macintosh.thebakingappproject.IdlingResource.OkHttpIdlingResource; | |
import com.example.macintosh.thebakingappproject.IdlingResource.SimpleIdlingResource; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Rule; | |
import org.junit.Test; |
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
applicationId "com.example.macintosh.thebakingappproject" | |
minSdkVersion 25 | |
targetSdkVersion 28 | |
versionCode 1 | |
versionName "1.0" |
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
package com.example.macintosh.thebakingappproject; | |
import android.app.IntentService; | |
import android.app.Service; | |
import android.appwidget.AppWidgetManager; | |
import android.content.ComponentName; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Build; | |
import android.support.annotation.Nullable; |
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.net.Uri; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import com.google.android.exoplayer2.DefaultLoadControl; | |
import com.google.android.exoplayer2.DefaultRenderersFactory; | |
import com.google.android.exoplayer2.ExoPlayerFactory; | |
import com.google.android.exoplayer2.SimpleExoPlayer; |
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
package com.example.macintosh.retrofitrecyclercardview.Models; | |
import com.google.gson.annotations.Expose; | |
import com.google.gson.annotations.SerializedName; | |
public class Step { | |
@SerializedName("id") | |
@Expose | |
private Integer id; | |
@SerializedName("shortDescription") |
NewerOlder