Struk 🇺🇦✙
Весь кэш как-то неохота чистить. Может есть где-то волшебная кнопка?
Struk 🇺🇦✙
Да, очень
Loki
Здраствуйте, у меня такое случает, когда передаю инт значение на фрагменть у нюинстансе как аргументь, а его значение добавляется +1 , дебажил 4 раз, нигде ничего не прибавляю
Loki
что это такое 😐
Igor
Удалил
Проверь через adb uninstall <package>
Loki
нет после
Loki
внутри фрагмента
Loki
Здраствуйте, никто не работал с OSM? незнаете как закрасит определенную область например страну или штат обл и тд
S
1- what are the latest Android versions? The most important Marshmallow new features?
2- what is the purpose of the Activity?
3- what is the purpose of the Fragments?
4- explain the lifecycle of the Activity?
5- explain the lifecycle of the Fragment?
6- you’re using a traveling app then you clicked settings button, Settings Activity opened, then you clicke Android back, what’s the lifecycle of the Settings Activity and the Home Activity when you did that?
7- what do you know about Material design?
8- what’s the difference between Abstract class and Interface in Java?
9- what’s the interface in Java?
10- what’s Abstract class in Java?
11- why you couldn’t create an instance from an abstract class?
12- what’s the difference between Dialog and AlerDialog in Android?
13- what’s the difference between LinearLayout and RelativeLayout?
14- which has better performance, LinearLayout or RelativeLayout?
15- given a simple contact item, with image and name and number, how could you implement it in XML?
16- what’s the Service, which thread it operates on?
17- what’s the difference between Service and IntetntService?
18- what’s ANR message?
19- explain the BroadcastReciever job and implementation?
20- can you use a Fragment with no UI? What cases could make you use this pattern?
21- explain the Java access modifiers?
22- what’s the difference between Default and Protected access modifiers in Java?
23- what do you know about AsynTask?
24- what’s the difference between Parcelable and Serializable? Which one is better? why?
25- how to access a variable in Activity from fragment?
26- you have one Activity with two fragments, one has a button and the second has a TextView, clicking the button change the TextView, how do you implement it?
27- how to make a variable thread safe?
28- what strategies we can use to achieve thread safety?
29- what is the purpose of “static” keyword in Java?
30- how could you initialize a static variable in Java?
31- what design patterns you know?
32- explain the builder pattern?
33- when do you use an observer pattern?
33- what’s the Singleton, when do you use it in Android?
34- what’s the difference between the LinkedList, ArrayList and Arrays?
35- what projects currently you work on? What is your workflow to implement a specific feature?
36- how do you handle Firebase push notifications?
37- how do you implement Firebase realtime Database?
38- you have a big project, and you have a login screen requirement, what processes you will follow to ship it?
39- what’s an eventbus?
40- what the thread that onRecieve method of a BroadcastReceiver operates on?
41- how to implement a custom BroadcastReceiver?
42- what’s the difference between MVC and MVP?
43- could you explain MVVM?
44- what’s the M in MVP? Answering … could it be a something else?
45- what’s the purpose of Content Provider?
46- what Sqlite library do you use?
47- what libraries do you use for Networking, Image loading, Database?
48- what do you use to handle a very fast Sensor that emit many readings at a time in Rx way?
49- what’s the difference between map and flatMap() in Rxjava?
50- how to create parallel Network calls with Rxjava?
51- if you have one request from the network and you want to call the cache if Network throw an error … how to achieve that via Rxjava?
The funny thing that I’ve read Dan lew blog post about this case, implemented it twice before, but couldn’t answering this question during the interview … bad things happen.
52- what’s the difference between concatMap() and flatMap() in Rxjava?
53- what do you know about Intents? What is the purpose of categories in Intents?
54- what’s the purpose of FrameLayout?
55- how to compare between Two objects?
56- Java is pass by Value or pass by Reference?
57- when you use observeOn() and subscribeOn()?
А как на Rx выполнить два паралельных запроса?, что-то не могу вспомнить...
Nikita
Andrey
1- what are the latest Android versions? The most important Marshmallow new features?
2- what is the purpose of the Activity?
3- what is the purpose of the Fragments?
4- explain the lifecycle of the Activity?
5- explain the lifecycle of the Fragment?
6- you’re using a traveling app then you clicked settings button, Settings Activity opened, then you clicke Android back, what’s the lifecycle of the Settings Activity and the Home Activity when you did that?
7- what do you know about Material design?
8- what’s the difference between Abstract class and Interface in Java?
9- what’s the interface in Java?
10- what’s Abstract class in Java?
11- why you couldn’t create an instance from an abstract class?
12- what’s the difference between Dialog and AlerDialog in Android?
13- what’s the difference between LinearLayout and RelativeLayout?
14- which has better performance, LinearLayout or RelativeLayout?
15- given a simple contact item, with image and name and number, how could you implement it in XML?
16- what’s the Service, which thread it operates on?
17- what’s the difference between Service and IntetntService?
18- what’s ANR message?
19- explain the BroadcastReciever job and implementation?
20- can you use a Fragment with no UI? What cases could make you use this pattern?
21- explain the Java access modifiers?
22- what’s the difference between Default and Protected access modifiers in Java?
23- what do you know about AsynTask?
24- what’s the difference between Parcelable and Serializable? Which one is better? why?
25- how to access a variable in Activity from fragment?
26- you have one Activity with two fragments, one has a button and the second has a TextView, clicking the button change the TextView, how do you implement it?
27- how to make a variable thread safe?
28- what strategies we can use to achieve thread safety?
29- what is the purpose of “static” keyword in Java?
30- how could you initialize a static variable in Java?
31- what design patterns you know?
32- explain the builder pattern?
33- when do you use an observer pattern?
33- what’s the Singleton, when do you use it in Android?
34- what’s the difference between the LinkedList, ArrayList and Arrays?
35- what projects currently you work on? What is your workflow to implement a specific feature?
36- how do you handle Firebase push notifications?
37- how do you implement Firebase realtime Database?
38- you have a big project, and you have a login screen requirement, what processes you will follow to ship it?
39- what’s an eventbus?
40- what the thread that onRecieve method of a BroadcastReceiver operates on?
41- how to implement a custom BroadcastReceiver?
42- what’s the difference between MVC and MVP?
43- could you explain MVVM?
44- what’s the M in MVP? Answering … could it be a something else?
45- what’s the purpose of Content Provider?
46- what Sqlite library do you use?
47- what libraries do you use for Networking, Image loading, Database?
48- what do you use to handle a very fast Sensor that emit many readings at a time in Rx way?
49- what’s the difference between map and flatMap() in Rxjava?
50- how to create parallel Network calls with Rxjava?
51- if you have one request from the network and you want to call the cache if Network throw an error … how to achieve that via Rxjava?
The funny thing that I’ve read Dan lew blog post about this case, implemented it twice before, but couldn’t answering this question during the interview … bad things happen.
52- what’s the difference between concatMap() and flatMap() in Rxjava?
53- what do you know about Intents? What is the purpose of categories in Intents?
54- what’s the purpose of FrameLayout?
55- how to compare between Two objects?
56- Java is pass by Value or pass by Reference?
57- when you use observeOn() and subscribeOn()?
это для мидла? 😯
Andrey
ну вот я тоже
Andrey
смотрю , что на мидла не тянет
Andrey
@Harmonizr А что должен уметь хороший мидл, по вашему?
Andrey
ну на самом деле, там вопросы такие, что для джуна как-то сложновато уже, но на мидла не тянет
Andrey
я никогда не умел разделять эти две категории..
Dmytro
https://medium.com/thoughts-overflow/how-to-add-a-fragment-in-kotlin-way-73203c5a450b
Dmytro
Вы просто почитайте эту шедевральную статейку
Dmytro
У меня количество "чебля?" зашкаливало
Azret
а в чем проблема
Azret
чувак запилил экстеншн
Azret
а
Azret
о фрагментах в котлине
Dmytro
Using Kotlin, we have fixed the ugly Android API and created a concise, more readable, and less error-prone code to add a Fragment.
Dmytro
Это самое главное
Azret
у меня вызывает отвращение костыль newInstance через companion object.
кто нибудь пользуется им?
Dmytro
Т.е. запилить в Java логику добавления фрагментов в одном месте не судьба. Это только Котлин сделать млжет
Dmytro
И куча хвалебных комментов и 1.3 плюсов. Нуебана...
Dmytro
Utils и статический импорт ? Поместить код в базовый класс активити ?
Михаил
Dmytro
How many minutes, if not hours, have you wasted debugging your application only to find out that you had missed calling commit() at the end of your Fragment transaction?
Dmytro
Вот еще
Dmytro
Т.е. говнокодил на Java, и винит Android SDK. А не свои кривые руки
Dmytro
:DD
Azret
ну я не хочу оборачивать newInstance в companion объект
Azret
выглядит как будто что то чужеродное
Azret
хз, я думал запилить отдельную функцию
Roman
Нормально всё выглядит. Достаточно удобно
Azret
выглядит как java код, переделанный под котлин
Max
Парни, а как можно запилить LightStatusBar для api < 23?
Max
именно иконочки тёмные нужны
ибо сам статусбар будет светлый и оно сливается
или для ранних версий андроида это не реально?
Max
печалька
Max
спасибо
Igor
👨💻🐒 - хех андроид девы
Dmytro
Dmytro
Первый раз слышу такое
Igor
Igor
Его расстраивает ооп на android
Igor
У тебя каждый level каталога это фрагмент?
Igor
Жестоко завязывать внешнее недетерменирование-состояние (файловую систему), на backstack фрагментов.
А если родительская папка удалится или ее переименуют?
Да и вообще это оферхед, если у тебя глубокое вложенность будет.
Михаил
Михаил
конечно
Dmytro
Мода меняется :)
Roman
ObjectBox
Dmytro
SqliteOpenHelper
Dmytro
Михаил
ну реалм в утиль. а выбор последних двух зависит от потребностей)
Михаил
вообще наверн рум предпочтительней в большинстве случаев - ничего лишнего не тащит, перфоманс максимально приближен к работе с хелперами
Igor
SqliteOpenHelper
SharedPrefs 👌
Это все что есть на ReactNative из коробки и как не странно этого хватает для большинства.
Igor
Хранить ссылку на текущим путь + обрабатывать backpress.
В случае отсутствия пути, перепрыгивать на ближайший родительский (и для этого не нужно будет сношаться с fragmentManger)
Pavel
Кто-то сталкивался с задачей объединить два Drawable Resource в один? Подскажите что-нибудь, пожалуйста
Pavel
Подскажите, это можно как-то сделать?
У меня есть drawable-ресурсы с фоном (bg.xml) и с галочкой (check.xml)
Я хочу сделать RadioButton c этим фоном и галочкой в правом нижнем углу (с отступом). Чтобы было проще понять, что мне нужно, нарисовал картинки.
Пробовал:
1) Объеденить их в один drawable-ресурс с помощью <layer-list>. Не получилось нормально масштабировать галочку: <inset> кое-как работает на Android 6, но крэшит приложение на 5.
2) Написать в элементе
<RadioButton
android:button="@null"
android:drawableRight="@drawable/check"
android:gravity="bottom"
Но в угол она попадать не хочет
3) Написать в элементе
<RadioButton
android:button="@drawable/check"
android:gravity="bottom"
android:layoutDirection="rtl"
Теперь она попадает в угол, но не работает padding
Pavel
Pavel
Pavel
Михаил
никто не в курсе? в третьей студии so к проекту так же как и ранее подключаются?
Михаил
у меня что-то в рантайме сошка не подгружается нынче, хотя вроде раньше все ок было
Server
https://developer.android.com/studio/debug/stacktraces.html
как Stack Trace вывести в консоль(без Android Studio)?
Server
точно не знаю, мне нужно то, что в logcat сыпится
Server
в консоле
Server
bash
Server
комп) на телефоне еще не встречал))))
Server
мне нужен Command Line Tools
FromSi
Gist для слабаков?)
Anonymous
Мне кажется, или ты уже с месяц тут одно и то же спрашиваешь?
Anton
Anonymous
Я про "глубину" вопросов