This file contains hidden or 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
generate-dependency-graph: | |
name: Generate Dependency Graph | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Graphviz | |
uses: ts-graphviz/setup-graphviz@v1 |
This file contains hidden or 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
class ViewPagerAdapter(fm: FragmentManager?) : FragmentStatePagerAdapter(fm) { | |
private var mFragmentList: ArrayList<Fragment> = ArrayList() | |
private var mFragmentTitleList: ArrayList<String> = ArrayList() | |
fun addFragment(fragment: Fragment, s: String) { | |
mFragmentList.add(fragment) | |
mFragmentTitleList.add(s) | |
} |
This file contains hidden or 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.vk.dialogsample.widget; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Canvas; | |
import android.graphics.drawable.Drawable; | |
import android.util.AttributeSet; | |
import android.widget.RelativeLayout; |
This file contains hidden or 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.vk.dialogsample.widget.expandable; | |
import android.animation.Animator; | |
import android.animation.ObjectAnimator; | |
import android.animation.TimeInterpolator; | |
import android.animation.ValueAnimator; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.Color; |
This file contains hidden or 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 ui.widget; | |
import android.content.Context; | |
import android.graphics.Rect; | |
import android.support.annotation.DimenRes; | |
import android.support.v7.widget.GridLayoutManager; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.support.v7.widget.StaggeredGridLayoutManager; | |
import android.view.View; |
This file contains hidden or 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" | |
android:id="@+id/mainLayout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<include | |
android:id="@+id/emptyLayout" | |
layout="@layout/layout_empty"/> |
This file contains hidden or 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
##1. Вопросы оптимизации и производительности | |
###1.1 Производительность и оптимизация | |
#Сергей Куксенко, Oracle — Железные счётчики на страже производительности | |
https://www.youtube.com/watch?v=RlX0f9pzhtc | |
#Алексей Шипилёв, Oracle — Катехизис java.lang.String | |
#о реализации строк в Java, способы оптимизации работы со строками и ошибки, которые часто допускают при оптимизации работы со строками, | |
https://www.youtube.com/watch?v=SZFe3m1DV1A |