Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
| // module with classes and logic for working with local storage in browsers via JavaScript | |
| // see also: http://professorweb.ru/my/html/html5/level5/5_1.php | |
| module StorageHelper { | |
| export interface IStorageItem { | |
| key: string; | |
| value: any; | |
| } | |
| export class StorageItem { | |
| key: string; |
| <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.design.widget.CoordinatorLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:id="@+id/activity_main" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fitsSystemWindows="true" | |
| android:orientation="vertical"> |
| 151.101.129.140 reddit.com | |
| 151.101.49.140 www.reddit.com | |
| 151.101.49.140 i.redditmedia.com | |
| 151.101.49.140 m.reddit.com | |
| 151.101.49.140 g.redditmedia.com | |
| 151.101.49.140 a.thumbs.redditmedia.com | |
| 151.101.193.140 redditgifts.com | |
| 151.101.49.140 i.redd.it | |
| 151.101.49.140 b.thumbs.redditmedia.com | |
| 151.101.49.140 i.reddituploads.com |
| import android.os.Handler; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.util.Log; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.ProgressBar; | |
| import android.widget.TextView; |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
| /** | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2015 Circle Internet Financial | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
| /** | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2015 Circle Internet Financial | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
| /* | |
| * Copyright (C) 2014 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
You can use this class to realize a simple sectioned RecyclerView.Adapter without changing your code.
The RecyclerView should use a LinearLayoutManager.
You can use this code also with the TwoWayView with the ListLayoutManager (https://github.com/lucasr/twoway-view)
This is a porting of the class SimpleSectionedListAdapter provided by Google
Example:
| #build.gradle | |
| # | |
| # compile 'io.reactivex:rxandroid:1.0.1' | |
| # compile 'io.reactivex:rxjava:1.0.14' | |
| # compile 'io.reactivex:rxjava-math:1.0.0' | |
| # compile 'com.jakewharton.rxbinding:rxbinding:0.2.0' | |
| # rxjava | |
| -keep class rx.schedulers.Schedulers { | |
| public static <methods>; |