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 mohamed.arfa.problemsolving.medium.swappingNodesInALinkedList | |
| import org.junit.Before | |
| import org.junit.Test | |
| import org.junit.Assert.* | |
| class SwappingNodesInALinkedList { | |
| /** | |
| * # [1721. Swapping Nodes in a Linked List](https://leetcode.com/problems/swapping-nodes-in-a-linked-list/description/) |
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
| object Constants { | |
| const val IMAGE_KEY = "IMAGE_KEY" | |
| const val ACTION_KEY = "ACTION_KEY" | |
| } |
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
| object Constants { | |
| const val DATA_SUCCESS = "DATA_SUCCESS" | |
| const val DATA_ERROR = "DATA_ERROR" | |
| const val WORKER_TAG = "WORKER_TAG" | |
| } |
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.codinginflow.chronometerexample; | |
| import android.os.SystemClock; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.Chronometer; | |
| import android.widget.Toast; | |
| public class MainActivity extends AppCompatActivity { |