This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.mikepenz.materialdrawer.app; | |
| import android.os.Bundle; | |
| import android.support.v4.app.Fragment; | |
| import android.support.v4.app.FragmentManager; | |
| import android.support.v4.app.FragmentTransaction; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.support.v7.widget.Toolbar; | |
| import android.view.MenuItem; | |
| import android.view.View; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <resources> | |
| <!-- | |
| Just set custom primary and accent color. | |
| Looks best with a light theme. see the AndroidManifest | |
| android:theme="@style/MaterialDrawerTheme.Light.DarkActionBar.TranslucentStatus" | |
| --> | |
| <color name="colorPrimary">#3E50B4</color> | |
| <color name="colorPrimaryDark">#2F3E9E</color> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| private Thread worker; | |
| .... | |
| // AUTOLOADING | |
| boolean loadMore = /* maybe add a padding */ | |
| firstVisibleItem + visibleItemCount >= totalItemCount; | |
| if(pages!=null & adapter!=null && scroll){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pro.app.fragments; | |
| import java.util.ArrayList; | |
| import java.util.LinkedHashMap; | |
| import java.util.List; | |
| import pro.app.R; | |
| import pro.app.adapters.ExpandableAdapter; | |
| import pro.app.models.Item; | |
| import pro.app.models.Secteur; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pro.app.adapters; | |
| import java.util.ArrayList; | |
| import java.util.LinkedHashMap; | |
| import java.util.Map; | |
| import pro.app.R; | |
| import pro.app.holders.DataHolder; | |
| import pro.app.models.Item; |
NewerOlder