File tree Expand file tree Collapse file tree
app/src/main/java/com/haoge/sample/easyandroid/activities
utils/src/main/java/com/haoge/easyandroid Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ class EasyImageGetterActivity: BaseActivity() {
2020<img src="file:///android_asset/imagegetter/cat.png">
2121<h5>http图片加载示例</h5>
2222<img src="http://www.w3school.com.cn/i/eg_tulip.jpg">
23- <h5>http gif图片加载示例</h5>
24- <img src="http://n.sinaimg.cn/tech/transform/525/w300h225/20180927/erEP-hiixpuq0285361.gif">
25-
2623 """ .trimIndent()
2724
2825 override fun initPage (savedInstanceState : Bundle ? ) {
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid
217
318import android.annotation.SuppressLint
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.app.Activity
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.os.Bundle
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.util.DisplayMetrics
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.os.Handler
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.util.Log
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.app.Activity
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.text.TextUtils
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2018 Haoge https://github.com/yjfnypeu
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package com.haoge.easyandroid.easy
217
318import android.annotation.TargetApi
You can’t perform that action at this time.
0 commit comments