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.pets.data; | |
import android.content.ContentProvider; | |
import android.content.ContentUris; | |
import android.content.ContentValues; | |
import android.content.UriMatcher; | |
import android.database.Cursor; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.net.Uri; | |
import android.support.annotation.NonNull; |
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 java.nio.ByteBuffer; | |
import java.nio.ByteOrder; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Scanner; | |
public class LabUnderGrad | |
{ |
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 org.omg.Messaging.SYNC_WITH_TRANSPORT; | |
import javax.xml.soap.SOAPPart; | |
import java.text.SimpleDateFormat; | |
import java.util.*; | |
import java.util.concurrent.ConcurrentHashMap; | |
import java.util.concurrent.CopyOnWriteArrayList; | |
public class FailFast { | |
public static void main(String args[]) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:orientation="vertical" | |
android:paddingLeft="20dp" | |
android:paddingRight="20dp" > | |
<android.support.design.widget.TextInputLayout |
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.app.Activity | |
import android.content.Intent | |
import android.content.IntentSender.SendIntentException | |
import android.os.Bundle | |
import androidx.appcompat.app.AppCompatActivity | |
import com.google.android.material.snackbar.Snackbar | |
import com.google.android.play.core.appupdate.AppUpdateInfo | |
import com.google.android.play.core.appupdate.AppUpdateManager | |
import com.google.android.play.core.appupdate.AppUpdateManagerFactory |
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
// | |
// ContentView.swift | |
// Gueesthatflag | |
// | |
// Created by Navjot Singh on 2020-03-31. | |
// Copyright © 2020 Navjot Singh. All rights reserved. | |
// | |
import SwiftUI |
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
##xml layout ex | |
1) set decription to null | |
<ImageView | |
android:id="@+id/loginIconId" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:contentDescription="@null" | |
app:layout_constraintTop_toTopO="parent" | |
app:srcCompat="@drawable/gb_icon" | |
/> |
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
// | |
// AppDelegate.swift | |
// ImageClassifierApp | |
// | |
// Created by Nav Singh on 10/5/20. | |
// Copyright © 2020 Nav Singh . All rights reserved. | |
// | |
import UIKit | |
import CoreML |
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
public struct MyLibrary { | |
public struct MainTextField:View{ | |
@State var placeholder:String | |
@Binding var text: String | |
/// textfeild reusable | |
/// - Parameters: | |
/// - placeholder: berfore written anything | |
/// - text: text that bind to the type to the field |
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
// | |
// ContentView.swift | |
// SampleApp | |
// | |
// Created by Navjot Singh on 2020-05-27. | |
// Copyright © 2020 Navjot Singh. All rights reserved. | |
// | |
import SwiftUI | |
import MyLibrary |
OlderNewer