TIMOB-15016 check the array index and return null if the index is invalid
Merge pull request #4884 from bijupmb/TIMOB-15016-TableviewHViewSwipelistenerCrashNew

 TIMOB-15016 check the array index and return null if the index is invalid