[android-developers] Need a way to refresh a RecyclerView.ViewHolder without it being recycled

2016-06-01 Thread David Schreiber
I have a RecyclerView.Adapter that handles creation and binding of ViewHolders based on a backing data set. Whenever the view is scrolled ViewHolders are being recycled and rebound, calling first #onViewRecycled and #onBindViewHolder for each recycled element. However, since my ViewHolders

[android-developers] Re: Setting up APK Expansion files for update releases

2014-03-11 Thread David Schreiber
Hi, as far as I know this is correct. When uploading the new APK to Google Play you can select the previous main expansion file to be used for the new version too. The version in the name of the expansion file has to be the versionCode of the APK the file is/was associated for the first time.

Re: [android-developers] getExternalStorageDirectory() behaves differently on Jelly Bean 4.2

2012-11-19 Thread David Schreiber
Hello Nikolay, is this some bad magic? Or how should the OS relate this expansion file with the app? Your recommended location doesn't have any package name in path? Greetings, David Am Montag, 19. November 2012 17:58:51 UTC+1 schrieb Nikolay Elenkov: On Thu, Nov 15, 2012 at 3:39 AM, Didier

Re: [android-developers] getExternalStorageDirectory() behaves differently on Jelly Bean 4.2

2012-11-19 Thread David Schreiber
Hello again, Probably you meant /sdcard/Android/obb/packagename, but this path is no more correct for a Nexus 7 with Android 4.2 (FYI I have the same problem at the moment). Greetings Am Montag, 19. November 2012 18:06:18 UTC+1 schrieb David Schreiber: Hello Nikolay, is this some bad

[android-developers] Android Expansion File Updates

2012-11-08 Thread David Schreiber
Hello there, I have a question regarding possible best practices using Android APK expansion files (OBB). We have an app with a larger *main expansion file. *Developer docs recommend pushing updates to users using a *patch expansion file.* When having a bigger update (lets say approximately

[android-developers] Re: new 50mb expansion pack functionality, api 11... no easy dice?

2012-03-19 Thread David Schreiber
, March 15, 2012 1:04:56 PM UTC-4, David Schreiber wrote: Hello there, I just implemented the downloader service and have noticed some things (and one severe bug). First of all, documentation says the downloader service needs a minimum of API level 4. The service provides two different kinds

[android-developers] Re: new 50mb expansion pack functionality, api 11... no easy dice?

2012-03-16 Thread David Schreiber
this method was introduced with API level 14. Thus, devices with an API level of 11, 12 and 13 will definitely not be able to use the downloader upon fixing this issue. If you need further information, feel free to ask. Greetings, David Schreiber PS: You have to compile your application (or your

[android-developers] Re: Downloading the Expansion Files

2012-03-16 Thread David Schreiber
Hello there, I posted yesterday, but my answer did not seem to get through. Yesterday I implemented my own expansion file downloader activity using the provided downloader library. The library (as stated in the documentation) supports expansion files from API level 4 onwards. Sadly to