timnew.me
Category: Android | ThoughtWorkshop
http://timnew.me/categories/programming/android
Digital Bigs in my thought. Understand Styles in Android - Part 1. What it is for and how to used it. Part 1: What it is for and how to used it. In android, view hierarchy usually are created via. Xml file. In the file, to instantiate a. Usually, we need to specify the visual of the. So we keep adding attributes to the. Usually to fully customize visual representation of a view needs a lot of attributes and resources. Such as in this example. we added. Which is a lot of code. Perform Clicks in Android Ro...
corner.squareup.com
Mockito on Android
https://corner.squareup.com/2012/10/mockito-android.html
October 22, 2012. At Square we love unit tests. Our comprehensive test suite helps us to develop Android apps with confidence. But without proper tools many scenarios are cumbersome to unit test. For example, suppose we want to pump up the device’s volume in Square Wallet. We have a method that cranks the ringer up to eleven unless the phone is silent:. Manually testing scenarios like these is strenuous and error-prone. Unit testing usually requires ugly and brittle boilerplate to intercept the. 1 Test t...
blog.andresteingress.com
Android Dependency Injection · Blog
http://blog.andresteingress.com/2014/08/31/android-dependency-injection
I recently came across a very good collection of open source projects. Maintained by the guys from Square. A commercial payment service. One of their projects came in use in one of my current Android projects: Dagger, a light-weight dependency injection library that can be used in Java and Android projects. Dagger kind of introduced me to the world of dependency injection libraries for Android. Lets have a look at the more familiar pattern of injecting Java objects/beans like services into activities.
corner.squareup.com
iOS Build Infrastructure
https://corner.squareup.com/2015/07/ios-build-infrastructure.html
July 28, 2015. Square has dozens of iOS engineers working on Square Register. Additionally, Square publishes multiple iOS apps to the App Store and distributes several iOS apps internally. To support the work of our application programmers, we’ve invested in a continuous integration and test cluster. We’ve recently replaced the backend of this cluster so that it could scale beyond 8 machines. As a direct result of this commitment, over the last year we’ve increased the reliability of builds. After some t...
xingrz.me
链接 :: XiNGRZ's
http://xingrz.me/links
E-mail: hi@xingrz.me. 想成为世界上最 Material 的 Instagram 客户端. Picasso / Otto 等很屌的 Java / Android 库. Designed by XiNGRZ. Proudly built with Jekyll. And hosted by GitHub Pages. 除特别指出,本站采用 知识共享署名-相同方式共享 4.0 国际许可协议.
howtoprogram.xyz
Set Timeout with OkHttp | HowToProgram
http://howtoprogram.xyz/2016/11/23/set-timeout-okhttp
Java REST Client Example. November 23, 2016. Tags: httpclient ( 8 ). Okhttp ( 8 ). Set Timeout with OkHttp. This tutorial is going to cover shortly how to set timeout with OkHttp. An HTTP and HTTP/2 client for Android and Java applications, powered by Square. And we can use timeouts to fail a call when its peer is unreachable. In this tutorial, we’re going to use OkHttp 3.4.2. The only one related dependency we need to compile the source code is:. The example source code can be found on Github. Public cl...
anddev.ru
Изучаем Retrofit 2 \ AndDev \ Сообщество разработчиков для Android
https://anddev.ru/izuchaem-retrofit-2
Эта запись была сделана в Статьи. В мире Android разработки существует множество интересных библиотек, и сегодня мы рассмотрим детище компании Square. Что же это за зверь такой? В сети Интернет мне не удалось найти внятных туториалов по второй версии бибилиотеки, поэтому сегодня мы будем разбираться с ней на примере приложения, получающего посты с bash.im. Лучше один раз увидеть, чем сто раз услышать. Мы будем создавать приложение, получающее данные от API сайта Umorili. Дизайном, конечно, не блещет.
corner.squareup.com
LeakCanary: Detect all memory leaks!
https://corner.squareup.com/2015/05/leak-canary.html
LeakCanary: Detect all memory leaks! May 08, 2015. Javalang.OutOfMemoryError at android.graphics.Bitmap.nativeCreate(Bitmap.java:-2) at android.graphics.Bitmap.createBitmap(Bitmap.java:689) at com.squareup.ui.SignView.createSignatureBitmap(SignView.java:121). Nobody likes OutOfMemoryError crashes. In Square Register, we draw the customer’s signature. On a bitmap cache. This bitmap is the size of the device’s screen, and we had a significant number of out of memory (OOM) crashes when creating it. Some obj...
android-libraries.zeef.com
Android Libraries by Jürgen Stumpp | ZEEF
https://android-libraries.zeef.com/index.xhtml
Curated list of awesome Android libraries and resources. Based on JStumpp’s awesome android list. Mobile apps developer @ movisens.com. Published 2 years ago. Updated 3 months ago. Portal for android libraries. Material Design for Bootstrap. A fast dependency injector for Android. Glide Bitmap Pool is a memory management. Realm is a mobile database. A Powerful and Practical ORM for Android. Mobile Analytics and Performance Marketing Platform I TUNE. Android Priority Job Queue. 2017 ZEEF - 2016.8.
SOCIAL ENGAGEMENT