compile fileTree dir libs include jar testCompile junitjunit412 compile

Compile filetree dir libs include jar testcompile

This preview shows page 21 - 24 out of 24 pages.

compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' }
Background image
COEN 268-TR, spring 2016 22 Activity vs AppCompactActivity Android studio automatically uses AppCompactActivity It gives the same material design look&feel on older Android versions It also support ActionBar (will be covered later) Recommendation Stick with default AppCompactActivity (Almost) all concepts related to Activity still apply public class MainActivity extends AppCompactActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
Background image
COEN 268-TR, spring 2016 23 V7 Support Library Designed to be used with Android 2.1 (API level 7) and higher Key features: ActionBarAppCompatActivityAppCompatDialogShareActionProviderGradle build script dependency com.android.support:appcompat-v7:23.1.0 Reference :
Background image
COEN 268-TR, spring 2016 24 Homework Review notes Understand key state transitions and callbacks Duplicate lifecycle demo Can you re-create all the transitions?
Background image

You've reached the end of your free preview.

Want to read all 24 pages?

  • Fall '12
  • JoshuaO'Connor
  • The Stack, callback, COEN 268-TR

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture