Sunday, 24 April 2016

Android Studio Unresolved Dependencies for RecyclerView Drawable - Vector Fix

This issue occurs because POM.xml corresponding to RecyclerView and Drawable Vector is Null
Check the following

C:\Users\Hp\AppData\Local\Android\sdk\extras\android\m2repository\com\android\support\recyclerview-v7\23.3.0\recyclerview-v7-23.3.0.pom

Fill it with the corresponding data.Check other versions like 21.0.0 and change the version number accordingly.

Same thing for Drawable Vector also.

Similar issue can arise for .aar then in that case replace .aar of any other version with the affected version accordingly.




Monday, 11 April 2016

Android Studio ShortCuts

ctrl+shift+space  for code completion
alt+ins for getter and setter
ctrl+alt+b for navigation
ctrl+w extend selection
ctrl+alt+v refactoring
comment and uncomment ctrl+slash and ctrl+shift+slash

shift+f1 browser opening
ctrl+d duplication
 ctrl+space code completion
ctrl+p valid parameters parenthesis




ctrl+alt+o optimise imports
ctrl+shft+n open file
ctrl+att+l format

Pass a HashMap from Angular Client to Spring boot API

This example is for the case where fileData is very huge and in json format   let map = new Map<string, string>()      map.set(this.ge...