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
""" | |
OOP Öğrenme Amaçlı Yapılmış Olan Basit İşçi Yönetim Sistemi | |
""" | |
import json #json bir dosya türüdür , verilerin depolanmasına ve geri okunmasına yarar , burada ise import kodu ile python için önceden yazılmış bir json işleme kütüphanesini scriptimize ekliyoruz. | |
Employees = { #Employees adında bir dictionary oluşturduk.Dictionary verileri depolamak için. | |
} | |
class Employee(object): #OOP yaptığımız için en genel obje yani İşçi yi oluşturduk. | |
'Common base for all employes' #Bu objenin açıklaması | |
empCount = 0 #Burada bir değişken oluşturduk toplam işçi sayısını tutmak için |
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
## -*- coding=<utf-8> -*- | |
import json | |
from json import JSONEncoder | |
Employees = {} | |
print(type(Employees)) | |
class Employee(object): | |
'Common base for all employes' | |
empCount = 0 | |
def __init__(self,name,salary,age): | |
self.name = name |
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.uruskan.shock.kultureventbase; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.support.design.widget.BottomNavigationView; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.MenuItem; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.TextView; |
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.uruskan.shock.myapplication; | |
import android.content.Intent; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.GridLayout; | |
import android.widget.GridView; | |
import android.widget.LinearLayout; |
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.uruskan.shock.myapplication; | |
import android.content.Context; | |
import android.graphics.drawable.Drawable; | |
import android.os.Build; | |
import android.support.annotation.RequiresApi; | |
import android.support.v7.widget.ActionBarOverlayLayout; | |
import android.widget.Button; | |
import android.support.v7.widget.AppCompatDrawableManager; | |
import android.widget.GridLayout; |
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"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:background="@drawable/grey_wp" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:rowCount="4" | |
android:columnCount="" | |
tools:context="com.uruskan.shock.myapplication.GameScreen"> |
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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal" > | |
<ImageView | |
android:id="@+id/simge" | |
android:layout_width="128dp" |
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 upiynar.cback; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.ImageView; | |
import android.widget.TextView; |
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 upiynar.cback; | |
import android.content.Context; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.support.v7.widget.AppCompatDrawableManager; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; |
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" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
tools:context="upiynar.cback.MainActivity"> | |
<android.support.design.widget.TabLayout xmlns:app="http://schemas.android.com/apk/res-auto" |