Giter VIP home page Giter VIP logo

activitylifecycle's Introduction

ActivityLifeCycle

Amaç

  1. Git - GitHub becelerinin arttırılmasını sağlamak.
  2. Activity yaşam döngüsünü anlamak ve çalışma mantığı üzerine kafa yormak.

İsterler

  1. Projeyi "Fork" ediniz.
  2. Master branch'inden yeni bir branch oluşturunuz.
  3. Branch ismine kendi adınızı ve soyadınızı verin. Örn. ("GökhanÖztürk)
  4. Bir Activity ve XML oluşturun. Activity ve XML oluştururken isimlendirme standartlarına dikkat ediniz.
  5. Activity'nizin içerisine aşağıdaki methodları yazınız - sıralaması önemli değil:
  • onCreate()
  • onContentChanged()
  • onContentChanged()
  • onStart()
  • onRestoreInstanceState()
  • onPostCreate()
  • onResume()
  • onPostResume()
  • onAttachedToWindow()
  • onCreateOptionsMenu()
  • onPrepareOptionsMenu()
  • onPause()
  • onSaveInstanceState()
  • onStop()
  • onDestroy()
  • onUserInteraction()
  • onUserLeaveHint()
  • onActivityResult()
  • onRestart()
  • onAttachFragment()
  • onConfigurationChanged()
  • onBackPressed()
  1. Yukarıdaki methodların içerisine Log.e methodunu kullanarak; ilk string'e kendinizin belirlediği bir String TAG, ikinci String'e ise method isimlerini yazınız.
  2. Yapabildiğiniz kadar fazla methodu Android Monitor üzerinde görmeye çalışın. Ve ekran görüntüsünü alıp projenize ekleyin.
  3. Çalışmayan methodların neden çalışmadığını interneti kullanarak araştırınız.
  4. Cevabını bulduklarınızı methodların içerisine Comment (//) olarak yazınız.
  5. Yazdığınzı kodları Push'layınız. Ve bu adres üzerindeki ana projeye Pull Request (PR) atınız.

En başarılı PR proje'ye "orjinal cevap" olarak kabul edilecektir.

Hem belki şurada ufak bir Orjinal GitHub Sticker'ları vardır; hediye edilecek (:

alt text

activitylifecycle's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.