Posted on

Java feature

  1. double brace
  2. ThreadLocal
  3. Instance Initializers

    [code language=”java”]
    public class Foo {
    public Foo() {
    System.out.println("constructor called");
    }

    static {
    System.out.println("static initializer called");
    }

    {
    System.out.println("instance initializer called");
    }
    }
    [/code]

  4. Enum – is a class
  5. try, finally, exception

    [code language=”java”]
    public static int f() {
    try {
    throw new RuntimeException();
    } finally {
    return 0;
    }
    }
    [/code]

  6. URL

    [code language=”java”]
    new URL("http://www.yahoo.com").equals(new URL("http://209.191.93.52"))
    [/code]

    =true

Posted on

About Gradle

Using Gradle build cache with Kotlin

Fixing dependency conflicts in Gradle

Put in order Gradle dependencies

Kotlin Meets Gradle

Несколько Gradle фишек для вашего Android приложения (https://habrahabr.ru/company/rambler-co/blog/311100/) (pdf)

The best tool for finding gradle packages

Gradle: управляя зависимостями

Gradle: 5 полезностей для разработчика (https://habrahabr.ru/company/redmadrobot/blog/271269/)

Configure Your Build (https://developer.android.com/studio/build/index.html)

Dependency Management for Java Projects

Change Gradle mavenCentral URL to My repo

Gradle: Better Way To Build (https://habrahabr.ru/post/107085/)

The Ins and Outs of Gradle (pdf)

Getting Started with Gradle (pdf)

Practical ProGuard rules examples (https://medium.com/google-developers/practical-proguard-rules-examples-5640a3907dc9)

Posted on

Interview tasks

I had 10 Android interviews during the last two years, here’s the questions plus some lessons I’ve learned

Android Interview Questions

https://habrahabr.ru/company/itinvest/blog/339740/

www.interviewbit.com [https://www.interviewbit.com/]

http://e-maxx.ru/algo/ (pdf)

pdf

Google job interview (zip)

https://habrahabr.ru/company/spice/blog/346424/

https://habrahabr.ru/company/spice/blog/347056/ (Adobe questions)

https://habrahabr.ru/company/spice/blog/348122/ (Amazon)

https://habrahabr.ru/company/spice/blog/348746/ (Samsung)

https://habrahabr.ru/company/spice/blog/350788/ (DELL)

https://habrahabr.ru/company/spice/blog/352454/ (google)

https://habr.com/company/spice/blog/353952/ (Amazon)

https://habr.com/company/spice/blog/358064/

https://habr.com/company/spice/blog/358918/

https://habr.com/company/spice/blog/413571/

tasks from Uber (pdf)

programmers tasks https://tproger.ru/category/problems/

Android question (http://startandroid.ru/ru/blog/538-voprosy-i-zadachi-na-sobesedovanie-android-razrabotchika.html)