Infinite scroll of finite items

I have a GridView that has items inside 5x50. I need to scroll them in all directions and instead of stopping when reached the end just start from the top/left. for example left-to-right scroll before scroll 1 2 3 4 5 6 7 8 9 10 after scroll to...
more »

2017-11-11 22:11 (2) Answers

Kotlin parallel coroutines

Is it acceptable to save multiple job instances from separate coroutines. Let's say i want to run a couple coroutines at once in which they are unrelated and cannot happen in one coroutine but i want them to run parallel. In Android i should be savin...
more »

2017-11-10 21:11 (2) Answers

Use clipping to round corners of ViewGroup

I have a RelativeLayout that needs to have rounded upper left and upper right corners. I can do this with a drawable background defined in XML with corners topLeftRadius and topRightRadius. But... This RelativeLayout also need to have a background th...
more »

2017-11-10 14:11 (1) Answers

Cannot resolve GoogleSignIn and GoogleSignInClient

I am not able to use GoogleSignIn(com.google.android.gms.auth.api.signin.GoogleSignIn ) and GoogleSignInClient(com.google.android.gms.auth.api.signin.GoogleSignInClient ) while implementing Google Sign In in Android Studio while I can access other cl...
more »

2017-11-10 14:11 (2) Answers

Working Multiple Layouts show in a GridView

I'm developing an Android app to show gauges. There are different type of gauges (gauge1.xml, gauge2.xml like that). What i want to do is load different types of gauge layout xml file to main grid view using JSON Array. Each Grid cell contains diffe...
more »

2017-11-10 08:11 (2) Answers

Android Studio 3.0 submodule compile failed

App level build gradle dependencies devCompile project(path: ':mymodule', configuration: 'devRelease') proCompile project(path: ':mymodule', configuration: 'proRelease') qaCompile project(path: ':mymodule', configuration: 'qaRelease') offlineCompil...
more »

2017-11-10 05:11 (2) Answers

Cloud Firestore: can cache be read synchronously?

Can documents be retrieved synchronously from the cache? For Android, the documentation only gives an asynchronous example? DocumentReference docRef = db.collection("cities").document("SF"); docRef.get().addOnCompleteListener(new OnCompleteListener...
more »

2017-11-09 10:11 (1) Answers

Generic wildcard types are not supported

I'm getting the following error: Could not deserialize object. Generic wildcard types are not supported (found in field m1(Map<String,Any>).someStringInM1(String)) This error is generated by the following line (I'm using Firestore's Andro...
more »

2017-11-08 23:11 (1) Answers

Accessing large number of JSON assets with Flutter

I'm working on a prototype app that would read and display data from a large repository of JSON files. I'm currently wondering about the best way to model this behavior in the pubspec.yaml and the in the flutter code itself. Right now I'm initially...
more »

2017-11-08 21:11 (1) Answers

Proguard issues with Gradle 3.0.0

I'm trying to create an APK using ProGuard and the new Gradle 3.0.0 version. I'm getting a lot of warnings on classes that I thought I ignored in my ProGuard configuration file. The same configuration works well with Gradle 2.3.3 but seems to break o...
more »

2017-11-08 13:11 (1) Answers

Parse realm model using jackson

Getting unknown key while converting realm model into json object using jackson library. Here is my realm model instance. public class RecordData extends RealmObject { public RecordData() { } private FormData formData; @Nul...
more »

2017-11-08 11:11 (3) Answers

App development

I'm in a situation where I'm looking at building a company website and in-house app (for ipad/android) with basic functionality; pretty much just a portfolio. This is for the company I work for who (for many reasons, some of which I agree with, some ...
more »

2017-11-08 09:11 (1) Answers

Customize Text Input Layout

I want to apply border to TextInputLayout as shown in image. right now i have implemented like this. but, I want as following as shown in image (i.e. label is placed within border). The code i have implemented for EditText is as below. <cu...
more »

2017-11-08 06:11 (2) Answers