Skip to content

Commit

Permalink
添加ProxyLazyFragment的license
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyJayce committed Apr 20, 2019
1 parent 3ce8c18 commit 0db013f
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,31 @@
import android.view.ViewGroup;
import android.widget.FrameLayout;

/**
* Copyright 2019 shizhefei(LuckyJayce)
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* <p>
* https://github.com/LuckyJayce/ViewPagerIndicator
* <p>
* 该代理LazyFragment的思想源于 https://github.com/shenguojun/LazyFragmentTest
*/
public final class ProxyLazyFragment extends Fragment {
private boolean isInit = false;
private static final String EXTRA_CLASS_NAME = "extra_class_name";
private static final String EXTRA_ARGUMENTS = "extra_arguments";
private FrameLayout view;
private static final int fragmentId = 666;

private int isVisibleToUserState = VISIBLE_STATE_NOTSET;
//未设置值
private static final int VISIBLE_STATE_NOTSET = -1;
Expand Down

0 comments on commit 0db013f

Please sign in to comment.