Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*/
public class MainActivity extends FastMainActivity {

@BindView(R.id.tabLayout_commonFastLib) CommonTabLayout mTabLayout;
@BindView(R.id.tabLayout_commonFastLib)
CommonTabLayout mTabLayout;

@Override
public boolean isSwipeEnable() {
Expand Down Expand Up @@ -55,7 +56,7 @@ public void initView(Bundle savedInstanceState) {
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
List<Fragment> list = getSupportFragmentManager().getFragments();
if (list == null && list.size() == 0) {
if (list == null || list.size() == 0) {
return;
}
for (Fragment f : list) {
Expand Down