Add custom adapter to limit memory on main activity