File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
lib/src/main/java/com/turingtechnologies/materialscrollbar Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9090      <excludeFolder  url =" file://$MODULE_DIR$/build/outputs"   />
9191      <excludeFolder  url =" file://$MODULE_DIR$/build/tmp"   />
9292    </content >
93-     <orderEntry  type =" jdk"   jdkName =" Android API 23 Platform (1) "   jdkType =" Android SDK"   />
93+     <orderEntry  type =" jdk"   jdkName =" Android API 23 Platform"   jdkType =" Android SDK"   />
9494    <orderEntry  type =" sourceFolder"   forTests =" false"   />
9595    <orderEntry  type =" library"   exported =" "   name =" library-2.4.0"   level =" project"   />
9696    <orderEntry  type =" library"   exported =" "   name =" appcompat-v7-23.0.0"   level =" project"   />
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ public float calculateScrollProgress(RecyclerView recyclerView) {
305305            int  indexOfLastFullyVisibleItemInFirstSection  = numItemsInList  - numScrollableSectionsInList  - 1 ;
306306
307307            int  currentSection  = lastFullyVisiblePosition  - indexOfLastFullyVisibleItemInFirstSection ;
308-             if (sectionIndicator .getVisibility () == VISIBLE ){
308+             if (sectionIndicator  !=  null  &&  sectionIndicator .getVisibility () == VISIBLE ){
309309                if (currentSection  == 0 ){
310310                    sectionIndicator .setCharacter (((INameableAdapter )recyclerView .getAdapter ()).getCharacterForElement (currentSection ));
311311                } else  {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments