public void PickImage(eImageSource _source) { if (_source == eImageSource.ALBUM) { m_viewType = eMediaLibraryType.ALBUM; m_scrollView.Reset(); } else if (_source == eImageSource.CAMERA) { m_viewType = eMediaLibraryType.CAMERA; } else if (_source == eImageSource.BOTH) { m_viewType = eMediaLibraryType.ALBUM_AND_CAMERA; } }
public void PickVideoFromGallery() { m_viewType = eMediaLibraryType.VIDEOS; m_scrollView.Reset(); }