Profile

Cover photo
Richard Leggett
Works at Valis Interactive
Attended University of Leeds
Lives in Milton Keynes
889 followers|40,247 views
AboutPostsPhotosReviews

Stream

Richard Leggett

Shared publicly  - 
 
Does anyone know if there's any plan to update the RecyclerView support lib to include a RecyclerView compatible CursorAdapter?

There are a couple of decent gists out there, but right now we all seem to be writing our own almost identical implementations, plus implementing things like DividerItemDecoration just to get up and running where ListView left off*.

*I understand this is not a ListView replacement and it isn't so prescriptive, we shouldn't assume ListView-like usage. However I can see this higher barrier to entry meaning people may stick to ListView hacks (when it comes to things like insert/remove animation) where RecyclerView lib could improve things by helping out a little more with some common implementation patterns perhaps?

#androiddev  
1
Add a comment...

Richard Leggett

Shared publicly  - 
 
This is one common error I see, especially with ListView.
 
Avoid passing null as the view root, that's why! :)
Using LayoutInflater improperly can lead to undiscovered issues in your Android application, or force you to use workarounds that are difficult to maintain.
View original post
1
Add a comment...

Richard Leggett

Shared publicly  - 
 
Deployed a Hubot to Slack via Heroku… Slack now an indispensable tool for us. ;)

https://github.com/github/hubot/tree/master/docs
1
Add a comment...
 
Playing around with getting ProviderTestCase2 (MockContentProvider tests) working with SQLCipher. This works but it feels dirty. Suggestions welcome. 
#androiddev  
Using SQLCipher with ProviderTestCase2 Example - Gist is a simple way to share snippets of text and code with others.
1
Add a comment...
 
 
Launched an MVP of our product yesterday, using artsy for sales. Technically we launched in time for Christmas - http://PrintMetrics.io
1 comment on original post
1
Add a comment...

Richard Leggett

Shared publicly  - 
 
Strange quirk of the Moto X 2nd gen. Messages app sets encoding to GSM 7bit vs automatic by default, so any emoji are stripped.

Bit strange given there's an emoji button built into the bundled keyboard. Which just produces white spaces unless you change that setting.
1
Stephen Charman's profile photoRichard Leggett's profile photo
2 comments
 
Yeah I don't remember setting it to not be automatic either. Weird.
Add a comment...
 
Lollipop Wi-Fi Issues

A few people, myself included, are having Wi-Fi issues since the Lollipop upgrade, on Nexus 4 and Nexus 5. On some networks (including a BTHomehub), the Wi-Fi icon appears with an asterisk and certain domains are inaccessible, mostly when using HTTPS. This includes whatever URLs Play Store uses to download apps – Play Store cannot download apps at all even after a reboot.

The only fix we've found is to manually set the DNS servers to something that is not Google's 8.8.8.8/8.8.4.4, e.g. Open DNS, which fixes it entirely, however you can only do that on Android if you a) root the device or b) turn off DHCP and request a fixed IP from the router. 

Anyone else experiencing similar? I would think given it's replicated in the small circle of people I see IRL more people would have experienced this.
1
Ben Rometsch's profile photoRichard Leggett's profile photo
2 comments
 
Interesting, I've had other problems too where manually forgetting and reading the network has prevented intermittent disconnections (when right next to the router). Let's see if the update does anything to help, for now I can't use Google's DNS.
Add a comment...
In his circles
363 people
Have him in circles
889 people
Jérémy Dubois's profile photo
Rui Ricardo Jorge's profile photo
Jonathan Barron's profile photo
Michael Chase's profile photo
Fridah Nyambura's profile photo
Andy Bennett's profile photo
Darron Schall's profile photo
Ondrej Kollar's profile photo
Pierce Fleming's profile photo

Richard Leggett

Shared publicly  - 
 
If you use SQLCipher, the latest SQLiteBrowser includes built in support for decrypting your DB, goodbye shell script!

#androiddev  
1
Add a comment...
 
What's with Android Studio importing java.sql.Date automatically instead of prompting for selection, e.g. java.util.Date.

I tend to realise I've done this when I get a JSON (GSON) deserializer exception - obviously doesn't know how to turn an IS8601 string with millis into a sql.Date as it's only rigged up for util.Date. Weird that it no longer prompts for which import to use.

#androiddev  
1
Stephen Lum's profile photoBruno Oliveira's profile photoRichard Leggett's profile photo
5 comments
 
+Bruno Oliveira, es verdad. Hablo un poco de Español tambien, pero lo siento, ningún Portugués, excepto "obrigado" por su comentario. ;)
 ·  Translate
Add a comment...
 
Proguard with Retrofit, OKHttp, SqlCipher and JodaTime. Expected more explosions. Waiting for it to come back and bite me later?  #androiddev  
1
Add a comment...
 
We've just launched a product on Etsy for runners, cyclists and any other activity trackers.
1
Add a comment...

Richard Leggett

Shared publicly  - 
 
 
Awesome... Just made the front page of XDA Developers. Go open source! 

http://www.xda-developers.com/android/opengl-es-3-03-1-frameworks/

Thanks +Adam Outler !
You may know XDA Forum Member MichaelEGR, a.k.a. Michael Leahy. Michael is known for his work with OpenGL on Android. In fact, at the Big Android BBQ 2014, He gave a speech entitled “OpenGL ES 3.1 / Android Extensions Pack“. Today he has given more information for developers to use in the form of an …
2 comments on original post
1
Add a comment...
People
In his circles
363 people
Have him in circles
889 people
Jérémy Dubois's profile photo
Rui Ricardo Jorge's profile photo
Jonathan Barron's profile photo
Michael Chase's profile photo
Fridah Nyambura's profile photo
Andy Bennett's profile photo
Darron Schall's profile photo
Ondrej Kollar's profile photo
Pierce Fleming's profile photo
Education
  • University of Leeds
    Digital Media
    1st Class Hons
Basic Information
Gender
Male
Apps with Google+ Sign-in
Story
Tagline
Android and Node.JS developer. Valis Interactive and PrintMetrics running/cycling posters.
Introduction
Developer specialising in Android and Node.js. Delivering native Android and iOS apps, databases, APIs and back ends, and responsive web development.
Work
Occupation
Android and Node.js developer
Skills
Native Android and iOS development
Employment
  • Valis Interactive
    2009 - present
  • Somewhat_
    Tech Director, 2012 - 2014
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Milton Keynes
Previously
London