Fans

Results 8 comments of Fans

when i use gradle3.0.1 in build.gradle > implementation 'com.f2prateek.dart:henson:2.0.3' > kapt 'com.f2prateek.dart:henson-processor:2.0.3' then make model,will appear this > "Error:(4, 1) 错误: 不兼容的类型: NonExistentClass无法转换为Annotation" and in build/tmp/kapt3/stubs/.../DartTestActivity.java > @kotlin.Metadata(mv = {1,...

TKS. very much , i just don't understand why ,the 'var' in kotlin will compile to 'private' in java. in kotlin doc the 'var' just like 'public' in java ......

resolve... when i write Model file use java ,it worked so. use Dart whih kotlin , it can't write Model file use kotlin ,if do this will appear error "Error:(7,...

if dart3.0 support custom annotation? like this: - in annotation `@IntDef({DefaultValue.FlowAction.NONE, DefaultValue.FlowAction.PASS, DefaultValue.FlowAction.REJECT, DefaultValue.FlowAction.FINISH}) @Retention(RetentionPolicy.SOURCE) public @interface FlowActionAn { }` - in model ` @FlowActionAn @InjectExtra("FlowAction") int mFlowAction;` - in...

![grid_scroll_problem](https://cloud.githubusercontent.com/assets/4084241/10936294/de1d0e38-8326-11e5-8912-5687d2cca2d0.png) ![grid_scroll_problem2](https://cloud.githubusercontent.com/assets/4084241/10936299/e586580a-8326-11e5-87ef-b135133de41d.png)

`val mediaInfo = MediaMetadataRetriever().apply { setDataSource(videoPath) } val videoWidth = mediaInfo.extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH) .toInt() val videoHeight = mediaInfo.extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT) .toInt() val orientation = mediaInfo.extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION) val duration = mediaInfo.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)` 自己获取也很方便

期待开源 学习!!!

效果好棒 坐等开源。。。 :octocat: [From gitme Android](http://flutterchina.club/app/gm.html)