Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 921e2044 authored by Quddus Chong's avatar Quddus Chong
Browse files

docs: Add Android Development Patterns videos.

bug: 24336240

Change-Id: I096f437acc4768d9e58ae9c63751e687e9209fb7
parent 7ddd1747
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -84,6 +84,23 @@ excludeFromSuggestions=true
       data-sortOrder="random"></div>
</div></section>

<section class="dac-section dac-gray"><div class="wrap">
  <h1 class="dac-section-title">Android development patterns</h1>
  <div class="dac-section-subtitle">
    Fundamental components and best practices that can help you build better apps.
  </div>
  <div class="resource-widget resource-flow-layout col-16"
       data-query="collection:develop/landing/devpatterns"
       data-cardSizes="6x6"
       data-maxResults="3"></div>
  <ul class="dac-section-links">
    <li class="dac-section-link"><a href="https://www.youtube.com/playlist?list=PLWz5rJ2EKKc-lJo_RGGXL2Psr8vVCTWjM">
      <span class="dac-sprite dac-auto-chevron"></span>
      Playlist
    </a></li>
  </ul>
</div></section>

<section class="dac-section dac-section-light"><div class="wrap">
  <h1 class="dac-section-title">Android performance patterns</h1>
  <div class="dac-section-subtitle">
+8 −0
Original line number Diff line number Diff line
@@ -95,6 +95,14 @@ var RESOURCE_COLLECTIONS = {
      "http://android-developers.blogspot.com/2015/03/a-new-reference-app-for-multi-device.html"
    ]
  },
  "develop/landing/devpatterns": {
    "title": "",
    "resources": [
      "https://www.youtube.com/watch?v=kmUGLURRPkI",
      "https://www.youtube.com/watch?v=HGElAW224dE",
      "https://www.youtube.com/watch?v=zQekzaAgIlQ"
    ]
  },
  "develop/landing/performance": {
    "title": "",
    "resources": [
+36 −0
Original line number Diff line number Diff line
@@ -246,6 +246,42 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
    "image":"http://i1.ytimg.com/vi/XOcCOBe8PTc/maxresdefault.jpg",
    "type":"video"
  },
  {
    "title":"Toolbars for a flexible Action Bar & more",
    "titleFriendly":"",
    "summary":"Toolbars are a flexible View you can add to your Android app which provides many of the same APIs as the system provided Action Bar, but can also do so much more such as reacting to scrolling or being integrated directly into your layouts.",
    "url":"https://www.youtube.com/watch?v=kmUGLURRPkI",
    "group":"",
    "keywords": [],
    "tags": [
    ],
    "image":"http://i1.ytimg.com/vi/kmUGLURRPkI/maxresdefault.jpg",
    "type":"video"
  },
  {
    "title":"Protecting Implicit Intents with Runtime Checks",
    "titleFriendly":"",
    "summary":"Make sure you protect your implicit intents with a simple runtime check.",
    "url":"https://www.youtube.com/watch?v=HGElAW224dE",
    "group":"",
    "keywords": [],
    "tags": [
    ],
    "image":"http://i1.ytimg.com/vi/HGElAW224dE/maxresdefault.jpg",
    "type":"video"
  },
  {
    "title":"Tabs and ViewPager",
    "titleFriendly":"",
    "summary":"Showing multiple screens or pages of content is easy with the help of ViewPager and a PagerAdapter. Combining that with tabs make for an effective top level navigation strategy for your app or for moving between content at the same level of hierarchy within your app.",
    "url":"https://www.youtube.com/watch?v=zQekzaAgIlQ",
    "group":"",
    "keywords": [],
    "tags": [
    ],
    "image":"http://i1.ytimg.com/vi/zQekzaAgIlQ/maxresdefault.jpg",
    "type":"video"
  },
  {
    "title":"Battery Drain and Networking",
    "titleFriendly":"",