zetdeveloper / whastappmultimediapicker Goto Github PK
View Code? Open in Web Editor NEWMultimedia Picker like whatsapp
Multimedia Picker like whatsapp
With this code:
MultimediaPicker.create(this)
.folderMode(true)
.folderTitle(getString(R.string.folder_video))
.setOnlyVideos(true)
.single()
.showCamera(false)
.start(REQUEST_CODE_VIDEO_PICKER);
Never shows the Activity, the app crashed, in the Log I'm receiving:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v7.widget.RecyclerView$Adapter android.support.v7.widget.RecyclerView.getAdapter()' on a null object reference
at com.zet.enterprises.multimediapicker.ContainerFragment.isDisplayingFolderView(ContainerFragment.java:553)
at com.zet.enterprises.multimediapicker.GalleryPickerActivity.updateTitle(GalleryPickerActivity.java:269)
at com.zet.enterprises.multimediapicker.GalleryPickerActivity.onCreateOptionsMenu(GalleryPickerActivity.java:255)
at android.app.Activity.onCreatePanelMenu(Activity.java:3127)
With this code:
MultimediaPicker.create(this)
.folderMode(false)
.folderTitle(getString(R.string.folder_video))
.imageTitle(getString(R.string.touch_for_select))
.setOnlyVideos(true)
.single()
.showCamera(false)
.start(REQUEST_CODE_VIDEO_PICKER);
shows the Activity but the back button crash the app, the Log shows:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.FragmentActivity.setResult(int)' on a null object reference
at com.zet.enterprises.multimediapicker.ContainerFragment.onBackPressed(ContainerFragment.java:570)
at com.zet.enterprises.multimediapicker.GalleryPickerActivity.onBackPressed(GalleryPickerActivity.java:390)
at com.zet.enterprises.multimediapicker.GalleryPickerActivity.onOptionsItemSelected(GalleryPickerActivity.java:322)
at android.app.Activity.onMenuItemSelected(Activity.java:3204)
Showing only videos screen is causing too much troubles. I really liked this library, I hope problems get solved.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.