The City Docs
7.4
7.4
  • Welcome
  • ADMIN PANEL
    • Import Project
    • Structure
    • Notification
    • MySQL Database
    • Add New Category
    • News Info
    • Custom Color
    • Change Log
  • ANDROID
    • Getting Started
      • Installation
      • Import Project
    • Structure
    • Package Name ( app id )
    • Firebase [must]
    • REST API
      • Configure API Url
      • Validate Your Web
    • Category
      • Integration
      • Add New
    • Remote Config
    • Ad Networks
    • Maps Configuration
    • Sort By Distance
    • Lazy Load
    • SQLite Database
    • Custom Color
    • Change Log
  • License
Powered by GitBook
On this page
  1. ANDROID

Lazy Load

Lazy Load is scheme that details place(Description, Phone, Address, Website) will be load when one place is open. When you press refresh button at grid view its only load Draft(name, main_image, lat, lng, last_update) from place.

This scheme use for handle large data, my estimate is data place more than 200 item. You can enable and disable this LAZY_LOAD from file data/AppConfig.java , default value is false.

public class AppConfig {
    . . .
    // if you place data more than 200 items please set TRUE
    public static final boolean LAZY_LOAD = false;
}
PreviousSort By DistanceNextSQLite Database